Aes class

Generic AES Encryption implementation

Implemented types
Implementers

Constructors

Aes(Cipher _cipher, EncryptionStrategy _strategy)

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

decryptEncryptionResultWithKey(EncryptionResult encryptionResult, EncryptionKey key) Future<Uint8List>
decrypts a EncryptionResult object obtained from encryptWithKey() using key, use this method to avoid unnescessary serialisation/de-serilaisation during decryption
override
decryptSerializedStringWithKey(String serialized, EncryptionKey key) Future<Uint8List>
Pass a string in Cryppo serialized encrypted format and a SymmetricKey (key type dependant on the scheme being used) to return binary decrypted data.
override
decryptWithKey(String serialized, EncryptionKey key) Future<Uint8List>
Pass a string in Cryppo serialized encrypted format and a EncryptionKey (key type dependant on the scheme being used) to return binary decrypted data.
override
encryptWithKey(List<int> data, EncryptionKey key) Future<EncryptionResult>
Provided some binary data and a SymmetricKey (key type dependant on the encryption scheme being used) Return an EncryptionResult
override
encryptWithKeyAndArtefacts(List<int> data, EncryptionKey key, EncryptionArtefacts artefacts) Future<EncryptionResult>
Allows encryption with specified encryption artifacts (rather than generated ones).
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