HkdfSha256 class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
-
deriveKeys(
{required Uint8List masterKey, Uint8List? salt, Uint8List? info}) → DerivedKeys -
One-shot HKDF: derive
encKey
andmacKey
(32B each) from a master key. -
expand(
{required Uint8List prk, Uint8List? info, required int length}) → Uint8List -
Computes the Expand step to produce
length
bytes from a givenprk
. -
extract(
{required Uint8List ikm, Uint8List? salt}) → Uint8List - Computes the Extract step: PRK = HMAC(salt, ikm).