PrfSecret class

The 32-byte PRF output of a passkey assertion.

Holds the buffer the client received; the holder wipes it once the derivation has consumed it, after which output can no longer be read.

Constructors

PrfSecret(Uint8List output)
Holds output itself, not a copy.

Properties

hashCode → int
The hash code for this object.
no setterinherited
output → Uint8List
The 32 bytes of the PRF output.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
wipe() → void
Overwrites the output buffer with zeroes; reading output afterwards throws StateError. Only this buffer is cleared; copies made elsewhere are not tracked.

Operators

operator ==(Object other) → bool
The equality operator.
inherited