The F(ucking) U(ncrackable) E(ncryption) Function in PHP

I think following function doesn’t need any more description but the inline comments.

[ad name=”Adsense – text only”]

The Function:

// f(ucking) u(ncrackable) e(ncryption) function
function fue($hash,$times){
    // Execute the encryptions as many times as the user wants
    for($i=$times;$i>0;$i--) {
        // Encode with base64...
        $hash=base64_encode($hash);
        // and md5...
        $hash=md5($hash);
        // sha1...
        $hash=sha1($hash);
        // sha256... (one more)
        $hash=hash("sha256", $hash);
        // sha512
        $hash=hash("sha512", $hash);
    }
    // Finaly, when done, return the value
    return $hash;
}

This function was first introduced by BlackHatDBL.

Join the Conversation

3 Comments

  1. Actually it’s encrypting, since this function combines encoding and hashing functions.

    1. Actually, this is just hashing. Just because you have a function that has the word encode in it doesn’t mean that what you’ve created isn’t a hashing function. Encryption implies that it can be reversed back to the original string with one or multiple keys. While yes, you can decode base64_encode strings (even by itself, technically not encryption), because you have hash functions in there the overall function is a hashing function no matter what. You may also want to look into salts.

Leave a comment

Your email address will not be published. Required fields are marked *