KeyDerivator class abstract

The interface that a symmetric key derivator conforms to.

A KeyDerivator is normally used to convert some master data (like a password, for instance) to a symmetric key.

Inheritance
Implementers

Constructors

KeyDerivator(String algorithmName)
Create the key derivator specified by the standard algorithmName.
factory

Properties

algorithmName → String
Get this algorithm's standard name.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
keySize → int
Get this derivator key's output size.
no setter
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 offset outOff.
init(CipherParameters 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).
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.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited