I've been trying to use File.WriteEncryptedObject and when that failed, I tried B4XCipher.Encrypt
Both of them fail, java exception, in the case of B4XCipher, right on the Dim statement.
From searching on here, I get the impression I'm supposed to have bouncy castle jar installed, so I downloaded latest (bcprov-ext-jdk18on-175.jar)
I copied the jar into Z:\Project\Lib\B4J
In B4J, my "additional libraries" path is set to Z:\Project\Lib
...I have jReflection in there also, and that appears in the Library Manager, shown as "additional" instead of internal. The bouncy jar does not show up in the library manager, and the encryption calls still fail.
I'm not experienced installing additional libraries... which piece of the puzzle did I miss? I notice the jReflection.jar is accompanied by a jReflection.xml. That is not the case with bouncy castle. All I'm trying to do is save a map to an encrypted file in B4J. Worked fine on B4A with none of this headache.
Thanks in advance!
Both of them fail, java exception, in the case of B4XCipher, right on the Dim statement.
From searching on here, I get the impression I'm supposed to have bouncy castle jar installed, so I downloaded latest (bcprov-ext-jdk18on-175.jar)
I copied the jar into Z:\Project\Lib\B4J
In B4J, my "additional libraries" path is set to Z:\Project\Lib
...I have jReflection in there also, and that appears in the Library Manager, shown as "additional" instead of internal. The bouncy jar does not show up in the library manager, and the encryption calls still fail.
I'm not experienced installing additional libraries... which piece of the puzzle did I miss? I notice the jReflection.jar is accompanied by a jReflection.xml. That is not the case with bouncy castle. All I'm trying to do is save a map to an encrypted file in B4J. Worked fine on B4A with none of this headache.
Thanks in advance!