chacha20 method

  1. @override
BuStreamCipher chacha20(
  1. List<int> key
)
override

Creates ChaCha20 with 32-byte key. Throws on invalid key length.

Implementation

@override
BuStreamCipher chacha20(List<int> key) {
  return ChaCha20(key);
}