See the ultimate encryption function on the homepage.

Source: Internet
Author: User
On the homepage, you can see the ultimate encryption function to encrypt PHP.



// f(ucking) u(ncrackable) e(ncryption) function by BlackHatDBL (www.netforme.net)function fue($hash,$times) {    // Execute the encryption(s) 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;}


Reply to discussion (solution)

It's terrible.
Besides, the irreversible data cannot be encrypted.

It's terrible.
Besides, the irreversible data cannot be encrypted.


Hahahaha is mainly about the title Ultimate encryption, which shocked me and then looked at the code... crashed.

We know that foreigners are not always brilliant.

$ Times is also saved in the data ~~



This is a simple and crude method .. Old-fashioned style

Bunker

Strong in all sense

If this is the case, what about anti-decryption.

If this is the case, what about anti-decryption.
F (ucking) u (ncrackable) e (ncryption) function

Not only have all kinds of encryption hash functions been implemented, but also multiple rounds of encryption are terrible.

Strong encryption

One-way encryption can be proofread. For more information, see.

F (ucking) u (ncrackable) e (ncryption)

Scared!

If this is the case, what about anti-decryption. The one-way encryption algorithm cannot be decrypted, because most of the information is lost during the encryption process.

It's terrible ......

Run so many circles
Not the first
$ Hash = hash ("sha512", $ hash );
Result ......

Encryption and decryption are easy.

I have become more and more admired for Asan.

Echo fue ('Hello World', strtotime ('Now '));

Encrypt a 'Hello world.

Not seen for ($ I = $ times; $ I> 0; $ I --)

In this case, strtotime ('Now ') becomes a super endless loop.

Weak: What does $ times mean?

$ Times is the number of times.
For loop-usage only, equivalent to for ($ I = 0; $ I <$ times; $ I ++)

Although it is called time, it does not mean time. the result of strtotime ('Now ') is about 1375063003, which is equivalent to 1.3 billion cycles...

It can be called the ultimate hash function at most. what encryption is not allowed for decryption. In fact, so many processes are meaningless.

// Sha256... (one more)
$ Hash = hash ("sha256", $ hash );

// Sha512
$ Hash = hash ("sha512", $ hash );

You can use these two sentences.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.