Skip to content

script.md5

This function is commonly used to store passwords in databases without them being readable or recoverable.

js
script.md5(inputStr)

Parameters

  • inputStr - the string which needs to be hashed.

Example

js
let hash = script.md5("PasswordString");