AESInECBMode class
Provides encryption and decryption for AES cipher in ECB mode.
- Inheritance
-
- Object
- CollateCipher<
Cipher< CipherSink> , Cipher<CipherSink> > - AESInECBMode
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 algorithminherited -
decryptStream(
Stream< int> stream) → Stream<int> -
Decrypts the
stream
using the algorithminherited -
decryptString(
String message, [Encoding? encoding]) → Uint8List -
Decrypts the
message
using the algorithminherited -
encrypt(
List< int> message) → Uint8List -
Encrypts the
message
using the algorithminherited -
encryptStream(
Stream< int> stream) → Stream<int> -
Encrypts the
stream
using the algorithminherited -
encryptString(
String message, [Encoding? encoding]) → Uint8List -
Encrypts the
message
using the algorithminherited -
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