R ranul Member Licensed User Longtime User May 25, 2021 #1 Hi Guys, I am using B4J 8.90 I need to use MessageDigest to calculate SHA256. I added the library jBX4Encryption. Is that the correct library? But when I try to do: Dim md as MessageDigest I get the error: Unknown type: messagedigest What am I doing wrong? Thanks
Hi Guys, I am using B4J 8.90 I need to use MessageDigest to calculate SHA256. I added the library jBX4Encryption. Is that the correct library? But when I try to do: Dim md as MessageDigest I get the error: Unknown type: messagedigest What am I doing wrong? Thanks
Erel B4X founder Staff member Licensed User Longtime User May 25, 2021 #2 jB4XEncryption - Cross platform encryption. You need to use Encryption library. It is a B4A / B4J library. Upvote 0
jB4XEncryption - Cross platform encryption. You need to use Encryption library. It is a B4A / B4J library.
R ranul Member Licensed User Longtime User May 25, 2021 #3 Hi, Where can I find that Encryption Library? I don't see it in the libraries manager. Thanks Upvote 0
agraham Expert Licensed User Longtime User May 25, 2021 #4 See here for library links New feature - online libraries index | B4X Programming Forum B4X Libraries - Google Sheets Upvote 0
See here for library links New feature - online libraries index | B4X Programming Forum B4X Libraries - Google Sheets
R ranul Member Licensed User Longtime User May 25, 2021 #5 Thanks. I downloaded the library. I put the JAR and the XML in the AdditionalLibraries folder I restarted the B4J IDE. But still I get Unknown type: messagedigest. Any ideas? Upvote 0
Thanks. I downloaded the library. I put the JAR and the XML in the AdditionalLibraries folder I restarted the B4J IDE. But still I get Unknown type: messagedigest. Any ideas?
agraham Expert Licensed User Longtime User May 25, 2021 #6 Did you select the library in Libraries Manager? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 25, 2021 #7 ranul said: I restarted the B4J IDE. Click to expand... That's never needed. Right click on the libraries tab and select refresh. Upvote 0
ranul said: I restarted the B4J IDE. Click to expand... That's never needed. Right click on the libraries tab and select refresh.
R ranul Member Licensed User Longtime User May 25, 2021 #8 Thanks. Indeed, I didn't select the library. Now it is working. Upvote 0