Poly1305.withCipher constructor

Poly1305.withCipher(
  1. BlockCipher? cipher
)

Implementation

Poly1305.withCipher(this.cipher) {
  Platform.instance.assertFullWidthInteger();
  if (cipher!.blockSize != BLOCK_SIZE) {
    throw ArgumentError('Poly1305 requires a 128 bit block cipher.');
  }
}