GCMEncrypted class
AES-GCM encryption hook for authenticated string field storage.
Constructors
- GCMEncrypted({String? seedId})
-
Creates a GCM encryption hook for one or more string fields.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
postRead(
PHiveCtx ctx) → void - Decrypts a previously encrypted string value using the stored nonce.
-
postWrite(
PHiveCtx ctx) → void -
Runs after a field value has been serialized for storage.
inherited
-
preRead(
PHiveCtx ctx) → void -
Runs before adapter logic consumes a value restored from storage.
inherited
-
preWrite(
PHiveCtx ctx) → void - Encrypts the current string value and stores the nonce in PHive metadata.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited