AESInPCBCModeEncrypt class

Provides encryption for AES cipher in PCBC mode.

Inheritance
Mixed-in types
Available extensions

Constructors

AESInPCBCModeEncrypt(Uint8List key, Uint8List iv, [Padding padding = Padding.pkcs7])
const

Properties

hashCode int
The hash code for this object.
no setterinherited
iv Uint8List
The salt or initialization vector
final
key Uint8List
Key for the cipher
final
name String
The name of the algorithm
no setteroverride
padding Padding
Padding scheme for the input message
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(Stream<List<int>> stream) Stream<Uint8List>
Transform the stream of chunks of message bytes using the algorithm.
override
cast<RS, RT>() StreamTransformer<RS, RT>
Provides a StreamTransformer<RS, RT> view of this stream transformer.
inherited
convert(List<int> message) Uint8List
Transforms the message of bytes using the algorithm.
override
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
stream(Stream<int> stream, [int chunkSize = 1024]) Stream<int>

Available on StreamCipher, provided by the StreamCipherExtension extension

Transforms the stream of message bytes using the algorithm.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited