labeledExtract static method

Uint8List labeledExtract(
  1. List<int> suiteId,
  2. List<int> salt,
  3. String label,
  4. List<int> ikm,
)

RFC 9180 ยง4 LabeledExtract.

Implementation

static Uint8List labeledExtract(
  List<int> suiteId,
  List<int> salt,
  String label,
  List<int> ikm,
) => HkdfSha256.extract(
  salt,
  concatBytes([_version, suiteId, ascii.encode(label), ikm]),
);