KdfAlgorithm enum

Key-derivation functions. id is the HPKE KDF identifier.

Inheritance
Available extensions

Values

hkdfSha256 → const KdfAlgorithm

HKDF-SHA-256.

const KdfAlgorithm(0x0001, 'HKDF-SHA-256', 32)
hkdfSha384 → const KdfAlgorithm

HKDF-SHA-384. The default.

const KdfAlgorithm(0x0002, 'HKDF-SHA-384', 48)
hkdfSha512 → const KdfAlgorithm

HKDF-SHA-512.

const KdfAlgorithm(0x0003, 'HKDF-SHA-512', 64)

Properties

hash → HashAlgorithm
no setter
hashCode → int
The hash code for this object.
no setterinherited
hashLength → int
final
id → int
final
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
standardName → String
final

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

fromId(int id) → KdfAlgorithm

Constants

values → const List<KdfAlgorithm>
A constant List of the values in this enum, in order of their declaration.