deriveKey method

  1. @override
Future<SecretKey> deriveKey({
  1. required SecretKey secretKey,
  2. required List<int> nonce,
})
override

Implementation

@override
Future<SecretKey> deriveKey({
  required SecretKey secretKey,
  required List<int> nonce,
}) async {
  final secretKeyData = await secretKey.extract();
  return deriveKeySync(
    secretKeyData: secretKeyData,
    nonce: nonce,
  );
}