CipherState class abstract
A state of Cipher, which helps you to encrypt or decrypt data that does not fit in memory.
- Implementers
Constructors
Properties
Methods
-
convert(
List< int> input, {required Mac? expectedMac, Uint8List? possibleBuffer}) → Future<List< int> > -
Adds
input
to the sequence of converted bytes and finishes converting all bytes. -
convertChunkSync(
List< int> input, {Uint8List? possibleBuffer}) → List<int> -
Adds
input
to the sequence of converted bytes. Returns a list of converted bytes, which may be empty or larger the input. -
initialize(
{required bool isEncrypting, required SecretKey secretKey, required List< int> nonce, List<int> aad = const [], int keyStreamIndex = 0}) → Future<void> -
Initializes the state with the given
secretKey
,nonce
, andaad
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited