CryptographyBackend class
package:cryptography — uses the host app's Cryptography.instance, so it picks up FlutterCryptography (hardware) when enabled, and BrowserCryptography (WebCrypto) on web; otherwise pure-Dart.
- Implemented types
Constructors
Properties
Methods
-
decryptData(
Uint8List key, Uint8List data) → Future< Uint8List> -
Decrypts
iv(12) | ciphertext | tag(16); throws on auth failure.override -
encryptData(
Uint8List key, Uint8List data) → Future< Uint8List> -
Returns
iv(12) | ciphertext | tag(16).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