ChaCha20Poly1305 class

Implemented types

Constructors

ChaCha20Poly1305(ChaCha7539Engine chacha20, Poly1305 poly1305)

Properties

algorithmName → String
Get this algorithm's standard name.
no setteroverride
chacha20 → ChaCha7539Engine
final
hashCode → int
The hash code for this object.
no setterinherited
mac → Uint8List
no setteroverride
poly1305 → Poly1305
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkAAD() → void
checkData() → void
doFinal(Uint8List out, int outOff) → int
override
finishAAD(int nextState) → void
finishData(int nextState) → void
getOutputSize(int len) → int
override
getUpdateOutputSize(int len) → int
override
incrementCount(int count, int increment, int limit) → int
init(bool forEncryption, CipherParameters params) → void
override
initMAC() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
padMAC(int count) → void
process(Uint8List data) → Uint8List
inherited
processAADByte(int inp) → void
override
processAADBytes(Uint8List inp, int inOff, int len) → void
override
processByte(int inp, Uint8List out, int outOff) → int
override
processBytes(Uint8List inp, int inOff, int len, Uint8List out, int outOff) → int
override
processData(Uint8List inp, int inOff, int inLen, Uint8List out, int outOff) → void
reset() → void
override
resetBool(bool clearMac, bool resetCipher) → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

AADLimit → int
final
factoryConfig → FactoryConfig
final
MAX → num
final
MIN → num
final
ZEROES → Uint8List
final

Constants

BUF_SIZE → const int
DATA_LIMIT → const int
KEY_SIZE → const int
MAC_SIZE → const int
NONCE_SIZE → const int