cshake static method

Uint8List cshake(
  1. Uint8List data, {
  2. int bitLength = 256,
  3. Uint8List? N,
  4. Uint8List? S,
})

implementation of SHAKE based on following KeccakNISTInterface.c from http://keccak.noekeon.org/

Implementation

static Uint8List cshake(Uint8List data,
    {int bitLength = 256, Uint8List? N, Uint8List? S}) {
  return CSHAKEDigest(bitLength, N, S).process(data);
}