JNCryptor icon indicating copy to clipboard operation
JNCryptor copied to clipboard

Videos encrypted in swift RNCryptor cannot be decrypted using JNCryptor

Open nagarajan-ck opened this issue 1 year ago • 0 comments

We were looking to decrypt video files in our backend using JNCryptor that was encrypted by our iOS app earlier(using swift RNCryptor), but we get the following error.

org.cryptonode.jncryptor.CryptorException: Unrecognised version number : 12

Tried troubleshooting around a bit, and found it is possible to decrypt video files using JNCryptor that was encrypted by JNCryptor, it is also possible to decrypt files using the swift RNCryptor that was encrypted by JNCryptor.

I wonder if it is a version issue since the swift RNCryptor is at version 5, but JNCryptor is still at 1.2

nagarajan-ck avatar Apr 12 '23 13:04 nagarajan-ck