proteus Decrypt Safe
open suspend override fun proteusDecryptSafe(sessionId: String, ciphertext: ByteArray): ByteArray(source)
Decrypt a message whether or not the proteus session already exists, and saves the session.
This is intended to replace simple usages of proteusDecrypt
.
However, when decrypting large numbers of messages in a single session, the existing methods may be more efficient.