revert 12 byte ivs that got commited by accident
This commit is contained in:
parent
6479a7eda9
commit
2e0b26a5ab
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue