Bladimir Silva Toro Active Member Licensed User Longtime User Nov 14, 2018 #1 I need to convert an MD5, I use the following code: Code: Dim md As MessageDigest Dim ByteCon As ByteConverter Dim passwordhash() As Byte passwordhash = md.GetMessageDigest(p.GetBytes("UTF8"),"MD5") dim md5string as String md5string = ByteCon.HexFromBytes(passwordhash) msgbox(md5string,"This is the MD5") For this it is necessary to use the libraries ByteConverter - Encryption, the library Encryption does not exist, I get an error when I use MessageDigest, the only library that appears is B4XEncryption. Where can I download the Encryption library? Thank you so much.
I need to convert an MD5, I use the following code: Code: Dim md As MessageDigest Dim ByteCon As ByteConverter Dim passwordhash() As Byte passwordhash = md.GetMessageDigest(p.GetBytes("UTF8"),"MD5") dim md5string as String md5string = ByteCon.HexFromBytes(passwordhash) msgbox(md5string,"This is the MD5") For this it is necessary to use the libraries ByteConverter - Encryption, the library Encryption does not exist, I get an error when I use MessageDigest, the only library that appears is B4XEncryption. Where can I download the Encryption library? Thank you so much.
DonManfred Expert Licensed User Longtime User Nov 14, 2018 #2 https://www.b4x.com/android/forum/threads/base64-and-encryption-library.6839/#content Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 14, 2018 #3 You can find it here: https://www.b4x.com/android/forum/pages/results/?query=Encryption+&prefix=1,2,3,17,24,29&product=b4a Upvote 0
You can find it here: https://www.b4x.com/android/forum/pages/results/?query=Encryption+&prefix=1,2,3,17,24,29&product=b4a
Bladimir Silva Toro Active Member Licensed User Longtime User Nov 14, 2018 #4 thank you @DonManfred It works perfectly, I just need to see the MD5 as decrypted. Any help you can give me? Upvote 0
thank you @DonManfred It works perfectly, I just need to see the MD5 as decrypted. Any help you can give me?
DonManfred Expert Licensed User Longtime User Nov 14, 2018 #5 1. Create a new thread for any new question. 2. MD5 is not a Encrypted text (it is a Checksum). What do you want to decrypt? Upvote 0
1. Create a new thread for any new question. 2. MD5 is not a Encrypted text (it is a Checksum). What do you want to decrypt?
Bladimir Silva Toro Active Member Licensed User Longtime User Nov 14, 2018 #6 I just wanted to test if the Checksum that I generate with the one I have stored in the database is the same. How do I verify that? Upvote 0
I just wanted to test if the Checksum that I generate with the one I have stored in the database is the same. How do I verify that?
DonManfred Expert Licensed User Longtime User Nov 14, 2018 #7 In Windows i am using Delphi. Not sure which component i use. But the routine in Delphi gives me the same MD5 for a file i generated the MD5 in Adroid for. Upvote 0
In Windows i am using Delphi. Not sure which component i use. But the routine in Delphi gives me the same MD5 for a file i generated the MD5 in Adroid for.