PolyseedMnemonic class

16-word polyseed mnemonic for Monero.

Polyseed uses GF(2048) Reed-Solomon codes with PBKDF2-HMAC-SHA256 key derivation. Use PolyseedMnemonic.decode to parse a phrase, then call generateSpendKey to get the 32-byte seed for MoneroKeys.fromSeed.

Spec: https://github.com/tevador/polyseed

Constructors

PolyseedMnemonic.decode(String phrase)
Decode a 16-word polyseed phrase. Language is auto-detected.
factory

Properties

birthday int
Wallet birthday as a Unix timestamp in seconds (~ monthly resolution).
no setter
hashCode int
The hash code for this object.
no setterinherited
isEncrypted bool
Whether this seed has been passphrase-encrypted.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decrypt(String passphrase) PolyseedMnemonic
Decrypt this seed with passphrase and return an unencrypted copy.
generateSpendKey() Uint8List
Derive the 32-byte private spend seed for Monero.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

isValid(String phrase) bool
Returns true iff phrase is a structurally valid Monero polyseed.

Constants

wordCount → const int