Android Question [Solved] MD5 - Library Encryption

Bladimir Silva Toro

Active Member
Licensed User
Longtime User
I need to convert an MD5, I use the following code:

B4X:
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
Upvote 0
Top