CTR class
Counter (CTR) mode: turns a block cipher into a stream cipher by encrypting successive counter values and XORing them with the data.
Constructors
Properties
Methods
-
clean(
) → CTR - Zeroes the counter and keystream buffer, and drops the cipher.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
process(
List< int> src, [List<int> ? dst]) → BuBytes -
XORs
srcwith the keystream (encrypt and decrypt are the same operation in CTR mode), writingsrc.length bytes intodstif given (dstmust hold at leastsrc.length bytes — GCM and Fortuna pass a longer buffer and fill the tail themselves). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited