process method

Uint8List process(
  1. String mnemonic, {
  2. String passphrase = "",
})

Implementation

Uint8List process(String mnemonic, {String passphrase = ""}) {
  final salt = Uint8List.fromList(utf8.encode(saltPrefix + passphrase));
  _derivator.reset();
  _derivator.init(Pbkdf2Parameters(salt, iterationCount, desiredKeyLength));
  return _derivator.process(Uint8List.fromList(mnemonic.codeUnits));
}