xchacha20 method

  1. @override
Xchacha20 xchacha20({
  1. required MacAlgorithm macAlgorithm,
})
inherited

A factory used by Xchacha20.

Implementation

@override
Xchacha20 xchacha20({required MacAlgorithm macAlgorithm}) {
  return DartXchacha20(
    macAlgorithm: macAlgorithm,
    random: _random,
  );
}