DVSharedStoreCipher class abstract
Encrypts values before they reach the backend.
Encryption is Dartvel's job rather than the store's, so the backing store
is a dumb byte sink on every target — one code path and one threat model,
rather than depending on encrypted preferences here and localStorage,
which has no encryption story at all, there.
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.
-
encrypt(
String plaintext) → String -
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