The AEAD-suite container marker (R3).
AES-256-GCM containers carry no marker (byte-compatible with every prior
output); a ChaCha20-Poly1305 container records aeadSuite in its
metadata, and the open paths rebuild their engine to match. The marker is
tamper-evident even unsigned: flipping it makes the opener run the wrong
cipher over the body, which fails authentication.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
entryFor(
PqForgeCipherSuite suite) → Map< String, Object?> -
The metadata entry recording
suite— empty for the default suite. -
of(
Map< String, Object?> metadata) → PqForgeCipherSuite -
The suite recorded in
metadata; absent means AES-256-GCM.
Constants
- metadataKey → const String
- Metadata key recording a non-default suite.