ChaCha20Poly1305 class
- Implemented types
Constructors
- 
          ChaCha20Poly1305(List<int> key)
- Creates a ChaCha20-Poly1305 instance with the given 32-byte encryption key.
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- nonceLength → int
- 
  Length of the nonce for ChaCha20-Poly1305 (12 bytes)
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- tagLength → int
- 
  Length of the authentication tag
  final
Methods
- 
  clean() → ChaCha20Poly1305 
- 
  Clears and releases the internal encryption key for ChaCha20-Poly1305 for security and memory management.
  override
- 
  decrypt(List< int> nonce, List<int> sealed, {List<int> ? associatedData, List<int> ? dst}) → List<int> ?
- 
  Decrypts the provided sealed data using ChaCha20-Poly1305 decryption.
  override
- 
  encrypt(List< int> nonce, List<int> plaintext, {List<int> ? associatedData, List<int> ? dst}) → List<int> 
- 
  Encrypts the provided plaintext data with ChaCha20-Poly1305 encryption.
  override
- 
  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