AtEncryptionAlgorithm<T, V> class abstract

Interface for encrypting and decrypting data. Check DefaultEncryptionAlgo for sample implementation.

Implementers

Constructors

AtEncryptionAlgorithm()

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(T encryptedData) FutureOr<V>
Decrypts the passed encrypted bytes.
encrypt(T plainData) FutureOr<V>
Encrypts the passed bytes. Bytes are passed as Uint8List. Encode String data type to Uint8List using utf8.encode.
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