Hello,
I followed the example of the help to encrypt in MD5; however, the result is not as expected.
Let's see, this is the example:
Blob lblb_data
Blob lblb_md5
String ls_resultMD5
lblb_data = Blob("Test MD5", EncodingANSI!)
CrypterObject lnv_CrypterObject
lnv_CrypterObject = Create CrypterObject
// Encrypt with MD5
lblb_md5 = lnv_CrypterObject.MD5(lblb_data)
ls_resultMD5 = String(lblb_md5, EncodingANSI!)
sle_result.text = ls_resultMD5
According to https://md5online.es/cifrar-md5 and other means of encryption, the result for "Test MD5" is 17b5cb0adb7fc8a14dbe55c312d84604 however, the result for "Test MD5" obtained from PowerBuilder is µËÛÈ¡M¾UÃØF
I use PB 2017 R3 1880
Any ideas about it?
Thank you