Expand description
Ed25519 key handling using BIP32 style derivation
Ed25519 is notable for its public key generation involving hashing and bit manipulations, which seemingly prevents its use for BIP32. Instead this package use the ed25519 is extended form (post-hashing).
BIP32 allows derivation given a private key, of up to 2^32 children, using two different derivation scheme (soft or hard).
In soft derivation, the important property is that given the parent public key, one can derive all softly derived children public key.
Structs§
- Signature
- a signature with an associated type tag
- XPrv
- HDWallet extended private key
- XPub
- Extended Public Key (Point + ChainCode)
Enums§
- Derivation
Error - Derivation
Scheme - Ed25519-bip32 Scheme Derivation version
- Private
KeyError - Possible errors during conversion from bytes
- Public
KeyError - Possible errors during conversion from bytes
- Signature
Error - Possible errors during conversion from bytes
Constants§
- SIGNATURE_
SIZE - Extended signature size in bytes
- XPRV_
SIZE - Extended Private key size in bytes
- XPUB_
SIZE - Extended Public key size in bytes
Type Aliases§
- Derivation
Index - Derivation index is a 32 bits number representing a type of derivation and a 31 bits number.