EncryptionProvider class abstract

Encryption provider interface

Implementers

Constructors

EncryptionProvider()

Properties

algorithm EncryptionAlgorithm
Encryption algorithm
no setter
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 data, {String? key}) Future<String>
Decrypt data
encrypt(String data, {String? key}) Future<String>
Encrypt data
generateKey() String
Generate encryption key
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