//
pkg.gl
Category
github.com/0chain/common
core
encryption
package
1.13.0
Repository:
https://github.com/0chain/common.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
3
Dependents
4
Files
35 SLOC
#
Functions
Hash
Hash - hash the given data and return the hash as hex string */.
IsHash
No description provided by the author
RawHash
RawHash - Logic to hash the text and return the hash bytes */.
#
Constants
HASH_LENGTH
No description provided by the author
#
Variables
EmptyHash
EmptyHash - hash of an empty string.
EmptyHashBytes
EmptyHashBytes - hash bytes of an empty string.
ErrInvalidHash
ErrInvalidHash - hash is invalid error.
#
Type aliases
HashBytes
No description provided by the author