derive abstract method

Future<PasskeyDerivation> derive(
  1. PrfSecret prf,
  2. String atSign
)

Derives from prf for the canonical atSign with HKDF-SHA256, an empty salt and the info <label>|<atSign> for each label above; zeroes the bytes of prf before returning. The sealer's key stays behind the RecordSealer port; this library never holds it as bytes.

Throws StateError before deriving anything when prf was wiped, as reading PrfSecret.output does.

Implementation

Future<PasskeyDerivation> derive(PrfSecret prf, String atSign);