EncryptionParams class

EncryptionParams

Constructors

EncryptionParams({required String algorithm, required String nonce})
const
EncryptionParams.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

algorithm → String
AEAD identifier, e.g. aes-256-gcm.
final
hashCode → int
The hash code for this object.
no setterinherited
nonce → String
base64url, 12 bytes.
final
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
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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