mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-11 15:17:43 +00:00
Add comment
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user