OtpCipher class

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

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

Static Methods

decrypt({required Uint8List encKey, required Uint8List iv, required Uint8List ciphertext}) Uint8List
Decrypts ciphertext using AES-256-CBC with PKCS#7 padding.
encrypt({required Uint8List encKey, required Uint8List iv, required Uint8List plaintext}) Uint8List
Encrypts plaintext using AES-256-CBC with PKCS#7 padding.