Page 1 of 1

How do I convert a string to MD5

Posted: 10 Oct 2019 22:37
by slooon9969
Hello, I am creating an API module. It requires a request with a password in MD5. Tell me an easy way to convert a string to MD5.
I try this:
var dgst = crypto.md5("pass");
And I get "ArrayBufer".
But how do I send it in an HTTP get request? I will be glad of any help

Re: How do I convert a string to MD5

Posted: 14 Oct 2019 00:34
by PoltoS
Please have a look in automation/Utils.js, function byteArrayToString