clean method
Clears and releases the internal encryption key for ChaCha20-Poly1305 for security and memory management.
Implementation
@override
ChaCha20Poly1305 clean() {
BinaryOps.zero(_key); // Securely zero the encryption key
return this;
}
Clears and releases the internal encryption key for ChaCha20-Poly1305 for security and memory management.
@override
ChaCha20Poly1305 clean() {
BinaryOps.zero(_key); // Securely zero the encryption key
return this;
}