extract abstract method

SecureKey extract({
  1. Uint8List? salt,
  2. required Uint8List ikm,
})

Provides crypto_kdf_hkdf_shaXXX_extract.

Extracts a master key of keyBytes length from the input keying material ikm and an optional salt.

See https://libsodium.gitbook.io/doc/key_derivation/hkdf#creating-a-master-key-from-input-keying-material

Implementation

SecureKey extract({Uint8List? salt, required Uint8List ikm});