package
1.1.1
Repository: https://github.com/bsnda/bsn-sdk-crypto.git
Documentation: pkg.go.dev

# Functions

Clone clones the passed slice.
GetHash return sha256 hash.
GetRandomBigInt returns a random big int.
GetRandomBytes returns len random looking bytes.
GetRandomNonce returns a random byte array of length NonceSize.
PaddedBigBytes encodes a big integer as a big-endian byte slice.
ReadBits encodes the absolute value of bigint as big-endian bytes.

# Constants

NonceSize is the default NonceSize.