DVAppKeySharedStoreCipher class
AES-256-GCM under the application key.
Encryption is on for the whole store rather than per key: a per-key opt-in means the one key someone forgot is the one that mattered, and encrypting view state costs nothing at these sizes.
- Implemented types
Constructors
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
-
decrypt(
String ciphertext) → String? -
Returns null when the value cannot be read — a rotated key, a reset
keychain, a profile moved between machines. The store discards it rather
than failing: it holds view state, so losing it costs a tab order.
override
-
encrypt(
String plaintext) → String -
override
-
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
-
forStore(
DVAppKeyStore store) → Future< DVAppKeySharedStoreCipher> -
Resolves the key from
store, generating one on first use.