DartChacha20 constructor
const
DartChacha20({
- required MacAlgorithm macAlgorithm,
- Random? random,
Constructs DartChacha20 with any MAC.
In almost every case, you should use DartChacha20.poly1305Aead, which constructs AEAD_CHACHA20_POLY1305 cipher (RFC 7539).
Implementation
const DartChacha20({
required this.macAlgorithm,
super.random,
}) : super.constructor();