mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 10:05:15 +00:00
Add comment
This commit is contained in:
parent
a9078c8d08
commit
9e6d1e27fc
@ -1,5 +1,8 @@
|
||||
package org.session.libsignal.crypto;
|
||||
|
||||
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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user