Crate ed25519_bip32
source · [−]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
a signature with an associated type tag
HDWallet extended private key
Extended Public Key (Point + ChainCode)
Enums
Ed25519-bip32 Scheme Derivation version
Possible errors during conversion from bytes
Possible errors during conversion from bytes
Possible errors during conversion from bytes
Constants
Extended signature size in bytes
Extended Private key size in bytes
Extended Public key size in bytes
Type Definitions
Derivation index is a 32 bits number representing a type of derivation and a 31 bits number.