Documentation
¶
Index ¶
- func DeriveChildSK(parentSK *big.Int, index uint32) (*big.Int, error)
- func DeriveMasterSK(seed []byte) (*big.Int, error)
- func Keccak256(data ...[]byte) []byte
- func PrivateKeyFromSeedAndPath(seed []byte, path string) (*e2types.BLSPrivateKey, error)
- func SHA256(data ...[]byte) []byte
- func SHA3256(data ...[]byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeriveChildSK ¶
DeriveChildSK derives the child secret key from a parent key. Follows ERC-2333.
func DeriveMasterSK ¶
DeriveMasterSK derives the master secret key from a seed. Follows ERC-2333.
func PrivateKeyFromSeedAndPath ¶
func PrivateKeyFromSeedAndPath(seed []byte, path string) (*e2types.BLSPrivateKey, error)
PrivateKeyFromSeedAndPath generates a private key given a seed and a path. Follows ERC-2334.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.