HKDFKeyDerivator class
HMAC-based Extract-and-Expand Key Derivation Function (HKDF) implemented according to IETF RFC 5869.
- Implemented types
Constructors
- HKDFKeyDerivator(Digest digest)
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
-
combineLists(
Uint8List a, Uint8List b) → Uint8List -
deriveKey(
Uint8List? inp, int inpOff, Uint8List out, int outOff) → int -
Derive key from given input and put it in
out
at offsetoutOff
.override -
expandNext(
) → void - Performs the expand part of the key derivation function, using currentT as input and output buffer.
-
extract(
Uint8List? salt, Uint8List ikm) → KeyParameter - Performs the extract part of the key derivation function.
-
init(
covariant HkdfParameters 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 -
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