Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hasher ¶
Hasher hashes a string into a hex-encoded digest.
NOTE: implementations of this interface vary in cryptographic strength. The sha256 and sha512 implementations are cryptographic hashes; the adler32, crc64, and fnv implementations are NON-CRYPTOGRAPHIC checksums and MUST NOT be selected for security, password, or tamper-resistance purposes. Choose the implementation deliberately.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package adler32 implements hashing.Hasher using the Adler-32 checksum.
|
Package adler32 implements hashing.Hasher using the Adler-32 checksum. |
|
Package crc64 implements hashing.Hasher using the CRC-64 (ISO) checksum.
|
Package crc64 implements hashing.Hasher using the CRC-64 (ISO) checksum. |
|
Package fnv implements hashing.Hasher using the FNV-1a (128-bit) hash.
|
Package fnv implements hashing.Hasher using the FNV-1a (128-bit) hash. |
Click to show internal directories.
Click to hide internal directories.