package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Sep 25, 2018
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
README
¶
HashStr: Hash a string into a number or into a 5 char string

Hash a string in go (golang) into a number or into a 5 char "name".
Two functions are implemented HashStr that takes a string and returns a number.
The second function HashStrToName uses HashStr and returns a 5 character "name" for the number.
License
MIT
Documentation
¶
Hashes a string into a number
Hashes a string into a set of 5 bytes - a name for the string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.