PBKDF2KeyDerivator class
Generator for PBE derived keys and ivs as defined by PKCS 5 V2.0 Scheme 2. This generator uses a SHA-1 HMac as the calculation function. The document this implementation is based on can be found at:
http://www.rsasecurity.com/rsalabs/pkcs/pkcs-5/index.html
- Implemented types
Constructors
- PBKDF2KeyDerivator(Mac _mac)
Properties
- algorithmName → String
-
Get this algorithm's standard name.
no setteroverride
- 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 Pbkdf2Parameters 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
-
Intended for internal use.
final