SymmetricEncryptionAlgorithm<T, V> class abstract

Interface for symmetric encryption algorithms. Check AESEncryptionAlgo for sample implementation.

Inheritance
Implementers

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