AESInCTRModeCipher class

Provides AES cipher in CTR mode.

Inheritance
Mixed-in types
Available extensions

Constructors

AESInCTRModeCipher(Uint8List key, Uint8List iv, [int counterBits = 64])
const

Properties

counterBits int
Number of bytes to use for the counter
final
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
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