CipherBox class abstract

an algorithm interface for performing encryption or decryption

Implementers

Constructors

CipherBox()

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({required EncryptedPayload payload, required Uint8List key}) → Future<Uint8List>
encrypt({required Uint8List data, required Uint8List key, Uint8List? iv}) → Future<EncryptedPayload>
generateKey({int length = 32, Random? random}) → Future<Uint8List>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
verifyHmac({required EncryptedPayload payload, required Uint8List key}) → Future<bool>

Operators

operator ==(Object other) → bool
The equality operator.
inherited