Add comment

This commit is contained in:
andrew 2023-05-05 12:33:50 +09:30
parent a9078c8d08
commit 9e6d1e27fc

View File

@ -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();
}