KeccakDigest constructor

KeccakDigest([
  1. int bitLength = 288
])

Implementation

KeccakDigest([int bitLength = 288]) {
  switch (bitLength) {
    case 128:
    case 224:
    case 256:
    case 288:
    case 384:
    case 512:
      init(bitLength);
      break;
    default:
      throw StateError(
          'invalid bitLength ($bitLength) for Keccak must only be 128,224,256,288,384,512');
  }
}