Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/src/bip39_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ String entropyToMnemonic(String entropyString) {
String words = chunks.map((binary) => wordlist[_binaryToByte(binary)]).join(' ');
return words;
}
Uint8List mnemonicToSeed(String mnemonic) {
final pbkdf2 = new PBKDF2();
Uint8List mnemonicToSeed(String mnemonic, {salt="mnemonic"}) {
final pbkdf2 = new PBKDF2(salt: salt);
return pbkdf2.process(mnemonic);
}
String mnemonicToSeedHex(String mnemonic) {
Expand Down