AEADBlockCipher class abstract
A block cipher mode that includes authenticated encryption
- Inheritance
-
- Object
- Algorithm
- BlockCipher
- AEADBlockCipher
- Implementers
Constructors
- AEADBlockCipher(String algorithmName)
-
factory
Properties
- algorithmName → String
-
Get this algorithm's standard name.
no setterinherited
- blockSize → int
-
Get this ciphers's block size.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
doFinal(
Uint8List out, int outOff) → int - Finish the operation either appending or verifying the MAC at the end of the data.
-
init(
bool forEncryption, CipherParameters? params) → void -
Init the cipher with its initialization
params
. The type of CipherParameters depends on the algorithm being used (see the documentation of each implementation to find out more).inherited -
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
.inherited -
processBytes(
Uint8List inp, int inpOff, int len, Uint8List out, int outOff) → int -
Process
len
bytes frominp
starting at offsetinpOff
and output the result toout
at offsetoutOff
. -
reset(
) → void -
Reset the cipher to its original state.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited