EncryptedBuffer class final

A class presents an encrypted buffer that includes the ciphertext buffer, tag tagPos, and nonce noncePos.

This class provides methods to access the individual parts of the encrypted buffer.

Constructors

EncryptedBuffer(Uint8List buffer, int tagPos, int noncePos)
Constructs an instance of EncryptedBuffer.

Properties

buffer Uint8List
final
ciphertext Uint8List
Returns the ciphertext.
no setter
ciphertextWithTag Uint8List
Returns the combined ciphertext and tag.
no setter
hashCode int
The hash code for this object.
no setterinherited
nonce Uint8List
Returns the nonce.
no setter
noncePos int
The position of the nonce within the buffer.
final
parts Map<String, Uint8List>
Returns the parts of the encrypted buffer as a map.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag Uint8List
Returns the tag.
no setter
tagPos int
The position of the tag within the buffer.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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