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