AnsweredAssumed Answered

Java to layer 7 - ASCII, MD5,Bytest to HEx

Question asked by Vignesh5.r on Sep 5, 2017
Latest reply on Sep 15, 2017 by Vignesh5.r

I am working on creating migrating the Java to Layer 7 

 

String password = “testvalue”;

string asciiString = ConvertToAsciiValue(password);

//MD5 encryption MD5CryptoServiceProvider md5service = new MD5CryptoServiceProvider();

byte[] md5Bytes = md5service.computeHash(System.Text.ASCIIEncoding.UTF8.GetBytes(asciiString));
String md5String = “”;

//converting bytes to hex string.

md5String = bytesToHexString(md5Bytes);

 

I would like to know how the above steps can be executed in Layer 7 using assertions. 

If someone can help it would be really helpful 

Outcomes