package
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: Nov 14, 2021
License: BSD-2-Clause
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Hasher provides easy access to various different types of hashing algorithms
const (
SHA2_224 Hasher = iota
SHA2_256
SHA2_384
SHA2_512
SHA3_224
SHA3_256
SHA3_384
SHA3_512
BLAKE2B_256
BLAKE2B_384
BLAKE2B_512
BLAKE3_256
)
Compute hash of data, i.e. Hash(data)
Returns a new hasher object
Returns the output size of the hash function
Returns the string representation of the hash algorithm
Returns the zero hash, i.e. Hash("")
Source Files
¶
Click to show internal directories.
Click to hide internal directories.