Encrypt string php code using md5

WBOY
Release: 2016-07-25 08:46:25
Original
1046 people have browsed it
After reversing the order of the ciphertext string after the MD5 operation, perform the MD5 operation again.
  1. function md5_5($data)
  2. {
  3. //Get the ciphertext of the data
  4. $data = md5($data);
  5. //Reverse the character order of the ciphertext string
  6. $ data = strrev($data);
  7. //Finally perform another MD5 operation and return
  8. return md5($data);
  9. }
  10. ?>
Copy code

php
This topic was moved by Xiaobei on 2015-11-16 10:33


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!