AESInECBMode class

Provides encryption and decryption for AES cipher in ECB mode.

Inheritance

Constructors

AESInECBMode.new(List<int> key, [Padding padding = Padding.pkcs7])
Creates AES cipher in ECB mode.
factory

Properties

decryptor AESInECBModeDecrypt
The cipher algorithm for decryption.
final
encryptor AESInECBModeEncrypt
The cipher algorithm for encryption.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the algorithm
no setteroverride
padding Padding
Padding scheme for the messages
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decrypt(List<int> message) Uint8List
Decrypts the message using the algorithm
inherited
decryptStream(Stream<int> stream) Stream<int>
Decrypts the stream using the algorithm
inherited
decryptString(String message, [Encoding? encoding]) Uint8List
Decrypts the message using the algorithm
inherited
encrypt(List<int> message) Uint8List
Encrypts the message using the algorithm
inherited
encryptStream(Stream<int> stream) Stream<int>
Encrypts the stream using the algorithm
inherited
encryptString(String message, [Encoding? encoding]) Uint8List
Encrypts the message using the algorithm
inherited
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