identity/ed25519 library

Constants

hardened → const int
The following part is ported from InternetIdentity service. It's main purpose is to recover an identity that registered. These truths are covered.
icBasePath → const List<int>
icDerivationPath → const List<int>

Functions

derive(Uint8List parentKey, Uint8List parentChaincode, int i) Set<Uint8List>
dropLeadingUserNumber(String s) String
extractUserNumber(String s) BigInt?
fromMnemonicWithoutValidation(String mnemonic, List<int>? derivationPath, {int offset = hardened}) Future<Ed25519KeyIdentity>
Create an Ed25519 based on a mnemonic phrase according to SLIP 0010: https://github.com/satoshilabs/slips/blob/master/slip-0010.md
fromSeedWithSlip0010(Uint8List masterSeed, List<int>? derivationPath, {int offset = hardened}) Future<Ed25519KeyIdentity>
Create an Ed25519 according to SLIP 0010: https://github.com/satoshilabs/slips/blob/master/slip-0010.md
generateMasterKey(Uint8List seed) Set<Uint8List>
parseUserNumber(String s) BigInt?
BigInt parses various things we do not want to allow, like:
toBigEndianArray(int n) Uint8List
Converts a 32-bit unsigned integer to a big endian byte array.