We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d20b5d commit 4184183Copy full SHA for 4184183
libsignal-service-dotnet/contacts/crypto/AesCipher.cs
@@ -30,7 +30,7 @@ internal static AesEncryptedResult Encrypt(byte[] key, byte[]? aad, byte[] reque
30
{
31
try
32
33
- byte[] iv = Util.GetSecretBytes(32);
+ byte[] iv = Util.GetSecretBytes(12);
34
var cipher = new GcmBlockCipher(new AesEngine());
35
cipher.Init(true, new AeadParameters(new KeyParameter(key), TAG_LENGTH_BITS, iv));
36
if (aad != null)
0 commit comments