Bug in SimpleAheadCipher

Issue #148 invalid
Aaron Daisley-Harrison created an issue

It looks like line 54: GCMParameterSpec parameterSpec = new GCMParameterSpec(ByteUtil.bitLength(tagByteLength), iv);

should NOT use tagByteLength but instead ivByteLength passed through from AesGcmContentEncryptionAlgorithm where the tag length is 16 and the iv length is 12.

Comments (2)

  1. Log in to comment