Encrypter<T extends Key> class abstract

Operator for encrypting and decrypting data

Inheritance

Properties

algorithm AlgorithmIdentifier<Algorithm>
The algorithm used for this operation
finalinherited
hashCode int
The hash code for this object.
no setterinherited
key → T
The key used for this operation
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decrypt(EncryptionResult input) Uint8List
Decrypts the input data using the key and algorithm
encrypt(Uint8List input, {Uint8List? initializationVector, Uint8List? additionalAuthenticatedData}) EncryptionResult
Encrypts the input data using the key and algorithm
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