AESKey class

Constructors

AESKey(Uint8List keyBytes, {Padder padder = const PKCS7Padder()})
AESKey.fromBase64(String key, {Padder padder = const PKCS7Padder()})
factory
AESKey.fromHex(String key, {Padder padder = const PKCS7Padder()})
factory
AESKey.fromUTF8(String key, {Padder padder = const PKCS7Padder()})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
keyBytes Uint8List
final
padder Padder
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decrypt(dynamic input) Iterable<int>
decryptCbc(dynamic input, {Iterable<int>? iv, Padder padder = const PKCS7Padder()}) Iterable<int>
decryptCbcToUtf8(dynamic input, {Iterable<int>? iv, Padder padder = const PKCS7Padder()}) String
decryptCtr(dynamic input, {required Uint8List iv, Padder? padder}) Iterable<int>
decryptCtrToUtf8(dynamic input, {required Uint8List iv, Padder? padder}) String
decryptToUtf8(dynamic input) String
encrypt(dynamic input) Uint8List
encryptCbc(dynamic input, {Iterable<int>? iv, Padder padder = const PKCS7Padder()}) Uint8List
encryptCbcToBase64(dynamic input, {Iterable<int>? iv, Padder padder = const PKCS7Padder()}) String
encryptCbcToHex(dynamic input, {Iterable<int>? iv, Padder padder = const PKCS7Padder()}) String
encryptCtr(dynamic input, {required Uint8List iv, Padder? padder}) Uint8List
encryptCtrToBase64(dynamic input, {required Uint8List iv, Padder? padder}) String
encryptCtrToHex(dynamic input, {required Uint8List iv, Padder? padder}) String
encryptToBase64(dynamic input) String
encryptToHex(dynamic input) String
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