GCTRBlockCipher class
Implementation of GOST 28147 OFB counter mode (GCTR) on top of a BlockCipher.
- Implemented types
Constructors
- GCTRBlockCipher(BlockCipher _underlyingCipher)
Properties
- algorithmName → String
-
Get this algorithm's standard name.
no setteroverride
- blockSize → int
-
Get this ciphers's block size.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
init(
bool encrypting, CipherParameters? params) → void -
Initialise the cipher and, possibly, the initialisation vector (IV).
If an IV isn't passed as part of the parameter, the IV will be all zeros.
An IV which is too short is handled in FIPS compliant fashion.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
process(
Uint8List data) → Uint8List -
Process a whole block of blockSize bytes stored in
data
at once, returning the result in a byte array.inherited -
processBlock(
Uint8List inp, int inpOff, Uint8List out, int outOff) → int -
Process a whole block of data given by
inp
and starting at offsetinpOff
.override -
reset(
) → void -
Reset the cipher to its original state.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- factoryConfig → FactoryConfig
-
Intended for internal use.
final