Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: derpyderpyderpderp function encrypt($pw) { $salt = substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 16); $firsthash = hash('sha256', $pw); $firsthashsalted = $firsthash . $salt; $encryptedPassword = '$SHA$' . $salt . '$' . hash('sha256', $firsthashsalted); return $encryptedPassword; } Source: http://pastebin.com/raw.php?i=LYt2LptV
↧