diff --git a/paste/index.php b/paste/index.php index 2e270a4..bb5d586 100644 --- a/paste/index.php +++ b/paste/index.php @@ -52,7 +52,7 @@ else if (! empty($_POST["paste_text"])) $paste_name = htmlspecialchars($_POST["paste_title"]); $paste_pass = htmlspecialchars($_POST["paste_password"]); - if (sha256($paste_pass) != "fc41cad9d74d2529996dd7118537cd2d4b288f3d9737caa45c0f05f0f0c088c0") { + if (hash('sha256', $paste_pass) != "fc41cad9d74d2529996dd7118537cd2d4b288f3d9737caa45c0f05f0f0c088c0") { die("This pastebin is now protected with a password due to users abusing it for copyright infringement"); }