TonSeedGenerator class

The TonSeedGenerator class is responsible for generating a seed from a mnemonic phrase. It can optionally validate the mnemonic according to TON specifications and use a passphrase.

Constructors

TonSeedGenerator(Mnemonic mnemonic)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
mnemonic Mnemonic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generate({String password = "", String salt = _TonSeedGeneratorConst.defaultTonSalt, bool validateTonMnemonic = false}) List<int>
Generates a seed from the mnemonic, with optional passphrase and salt. If validateTonMnemonic is true, it validates the mnemonic before generating the seed.
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