withParameters method

AlgorithmIdentifier<Algorithm> withParameters({
  1. required dynamic keySize,
  2. required Identifier curve,
  3. required AlgorithmIdentifier<Digest> hkdfHash,
})

Implementation

AlgorithmIdentifier withParameters(
    {required keySize,
    required Identifier curve,
    required AlgorithmIdentifier<Digest> hkdfHash}) {
  return AlgorithmIdentifier._(
      'enc/hybrid', () => pc.HKDFKeyDerivator(hkdfHash.factory()));
}