Scrypt class

A class for performing scrypt key derivation.

Constructors

Scrypt(int n, int r, int p)
Creates a new Scrypt instance for key derivation.

Properties

hashCode → int
The hash code for this object.
no setterinherited
n ↔ int
latefinal
p ↔ int
latefinal
r ↔ int
latefinal
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

derive(List<int> password, List<int> salt, int dkLen) → List<int>
Derives a key from the given password and salt using scrypt key derivation.
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

deriveKey(List<int> password, List<int> salt, {int dkLen = 32, int r = 8, int n = 8192, int p = 1}) → List<int>