AESInPCBCMode class
Provides encryption and decryption for AES cipher in PCBC mode.
- Inheritance
-
- Object
- CipherPair<
StreamCipher, StreamCipher> - StreamCipherPair<
StreamCipher, StreamCipher> - AESInPCBCMode
- Mixed-in types
Constructors
Properties
- decryptor → AESInPCBCModeDecrypt
-
The cipher algorithm for decryption.
final
- encryptor → AESInPCBCModeEncrypt
-
The cipher algorithm for encryption.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iv → Uint8List
-
The salt or initialization vector
no setteroverride
- 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
messageusing the algorithminherited -
decryptString(
String message, [Encoding? encoding]) → Uint8List -
Decrypts the
messageusing the algorithminherited -
encrypt(
List< int> message) → Uint8List -
Encrypts the
messageusing the algorithminherited -
encryptString(
String message, [Encoding? encoding]) → Uint8List -
Encrypts the
messageusing the algorithminherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetIV(
) → void -
Replaces current IV with a new random one
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited