AESFastEngine class
An implementation of the AES (Rijndael), from FIPS-197.
For further details see: http://csrc.nist.gov/encryption/aes/
This implementation is based on optimizations from Dr. Brian Gladman's paper
and C code at http://fp.gladman.plus.com/cryptography_technology/rijndael/
deprecated: Unfortunately this class is has a few side channel issues.
In an environment where encryption/decryption may be closely observed it
should not be used.
- Implemented types
- Annotations
-
- @Deprecated('Has side-channel issues.')
Constructors
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 forEncryption, covariant KeyParameter 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).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