revert 12 byte ivs that got commited by accident

This commit is contained in:
Daniel Gultsch 2018-11-21 16:44:24 +01:00
parent 6479a7eda9
commit 2e0b26a5ab

View file

@ -165,7 +165,7 @@ public class XmppAxolotlMessage {
private static byte[] generateIv() { private static byte[] generateIv() {
SecureRandom random = new SecureRandom(); SecureRandom random = new SecureRandom();
byte[] iv = new byte[12]; byte[] iv = new byte[16];
random.nextBytes(iv); random.nextBytes(iv);
return iv; return iv;
} }