Scrypt class
Implementation of SCrypt password based key derivation function. See the next link for info on how to choose N, r, and p:
This implementation is based on Java implementation by Will Glozer, which can be found at:
- Implemented types
Constructors
- Scrypt()
Properties
- algorithmName → String
-
Get this algorithm's standard name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- keySize → int
-
Get this derivator key's output size.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deriveKey(
Uint8List inp, int inpOff, Uint8List out, int outOff) → int -
Derive key from given input and put it in
out
at offsetoutOff
.override -
init(
covariant ScryptParameters params) → void -
Init the derivator with its initialization
params
. The type of CipherParameters depends on the algorithm being used (see the documentation of each implementation to find out more).override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
process(
Uint8List data) → Uint8List -
Process a whole block of
data
at once, returning the result in a byte array.inherited -
reset(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- factoryConfig → FactoryConfig
-
final