package
0.0.0-20190929044832-b10740b316a8
Repository: https://github.com/qitmeer/qitmeer-lib.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

Calculate the hash of hasher over buf.
Decode decodes the byte-reversed hexadecimal string encoding of a Hash to a destination.
DoubleHashB calculates hash(hash(b)) and returns the resulting bytes.
No description provided by the author
DoubleHashH calculates hash(hash(b)) and returns the resulting bytes as a Hash.
No description provided by the author
No description provided by the author
Hash160 calculates the hash ripemd160(hash256(b)).
Hash512B using blake2b calculates 512 bits hash and returns the resulting bytes.
HashB using blake2b calculates 256 bits hash and returns the resulting bytes.
using pool.
HashH calculates hash(b) and returns the resulting bytes as a Hash.
No description provided by the author
convert []byte to a byte-reversed hash, Must means it panics for invalid input.
convert []byte to a hash, Must means it panics for invalid input.
convert hex string to a byte-reversed hash, Must means it panics for invalid input.
convert hex string to a hash.
NewHash returns a new Hash from a byte slice.
NewHashFromStr creates a Hash from a hash string.

# Constants

TODO refactoring hasher consider to integrated https://github.com/multiformats/go-multihash.
TODO refactoring hasher consider to integrated https://github.com/multiformats/go-multihash.
No description provided by the author
TODO refactoring hasher consider to integrated https://github.com/multiformats/go-multihash.
MaxHashStringSize is the maximum length of a Hash hash string.
TODO refactoring hasher consider to integrated https://github.com/multiformats/go-multihash.
TODO refactoring hasher consider to integrated https://github.com/multiformats/go-multihash.
TODO refactoring hasher consider to integrated https://github.com/multiformats/go-multihash.
TODO refactoring hasher consider to integrated https://github.com/multiformats/go-multihash.

# Variables

ErrHashStrSize describes an error that indicates the caller specified a hash string that has too many characters.
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author