"Password hashing action", "version" => "0.4", "author" => "Starbeamrainbowlabs", "description" => "Adds a utility action (that anyone can use) called hash that hashes a given string. Useful when changing a user's password.", "id" => "page-hash", "code" => function() { add_action("hash", function() { if(!isset($_GET["string"])) { http_response_code(422); exit(renderpage("Missing parameter", "
The GET
parameter string
must be specified.
It is strongly recommended that you utilise this page via a private or incognito window in order to prevent your password from appearing in your browser history.
")); } else { exit(renderpage("Hashed string", "" . $_GET["string"] . "
→ " . hash("sha256", $_GET["string"] . "