//
pkg.gl
Category
github.com/aiot-network/aiotchain
tools
crypto
seed
package
0.3.0
Repository:
https://github.com/aiot-network/aiotchain.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
2
Files
35 SLOC
#
Functions
GenerateSeed
GenerateSeed returns a cryptographically secure random seed that can be used as the input for the further usage.
#
Constants
DefaultSeedBytes
256 bits.
MaxSeedBytes
1024 bits.
MinSeedBytes
128 bits.
#
Variables
ErrInvalidSeedLen
ErrInvalidSeedLen describes an error in which the provided seed or seed length is not in the allowed range.