iOS Question Convert hex byte to string

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
Hi.
I use below code to convert md5 result to string.
In basic4android with byteconvertor library we can convert hex byte to string but in b4i?
B4X:
dim s as string
s = "hello"
b1 = c1.GetMessageDigest(s.GetBytes("UTF8"),"MD5")
s = BytesToString(b1,0,b1.Length,"UTF-8")

Above code error to decoding b1
 
Top