DartChacha20Poly1305AeadMacAlgorithm constructor
DartChacha20Poly1305AeadMacAlgorithm({})
Implementation
DartChacha20Poly1305AeadMacAlgorithm({
Chacha20? chacha20,
Poly1305? poly1305,
bool useStaticBuffer = false,
}) : _chacha20 = chacha20 ?? Chacha20(macAlgorithm: MacAlgorithm.empty),
_poly1305 = poly1305 ?? Poly1305(),
_useStaticBuffer = useStaticBuffer;