After reversing the order of the ciphertext string after the MD5 operation, perform the MD5 operation again.
- function md5_5($data)
- {
- //Get the ciphertext of the data
- $data = md5($data);
- //Reverse the character order of the ciphertext string
- $ data = strrev($data);
- //Finally perform another MD5 operation and return
- return md5($data);
- }
- ?>
Copy code
|
php
This topic was moved by Xiaobei on 2015-11-16 10:33