chacha20 method

  1. @override
Chacha20 chacha20({
  1. required MacAlgorithm macAlgorithm,
})
inherited

A factory used by Chacha20.

Implementation

@override
Chacha20 chacha20({required MacAlgorithm macAlgorithm}) {
  return DartChacha20(
    macAlgorithm: macAlgorithm,
    random: _random,
  );
}