I need to encrypt an xml sting with MD5 format. Try to use Hash Text activities with HMACMD5 (Non-FIPS), but the result is different with online tools (MD5 - Online Tools) Any idea? Is it caused by the Key. How can I skip the key in UiPath?
Hi,
Can you try the following?
md5 = System.Security.Cryptography.MD5.Create()
arrByte = md5.ComputeHash(System.Text.Encoding.UTF8.GetBytes(yourString))
String.Join("",arrByte.Select(Function(b) b.ToString("X2")))
Sample
Sequence.xaml (8.1 KB)
Regards,
1 Like
It works, thanks a lot.
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.