mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-20 05:58:27 +00:00
Add comment
This commit is contained in:
parent
a9078c8d08
commit
9e6d1e27fc
@ -1,5 +1,8 @@
|
|||||||
package org.session.libsignal.crypto;
|
package org.session.libsignal.crypto;
|
||||||
|
|
||||||
public class CipherUtil {
|
public class CipherUtil {
|
||||||
|
// Cipher operations are not thread-safe so we synchronize over them through doFinal to
|
||||||
|
// prevent crashes with quickly repeated encrypt/decrypt operations
|
||||||
|
// https://github.com/mozilla-mobile/android-components/issues/5342
|
||||||
public static final Object CIPHER_LOCK = new Object();
|
public static final Object CIPHER_LOCK = new Object();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user