Add comment

pull/1176/head
andrew 1 year ago
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…
Cancel
Save