Blogger Information
Blog 26
fans 1
comment 1
visits 35571
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
php 常见加密方式
Bystander
Original
2088 people have browsed it
  1. md5 加密 较为简单 直接  md5($str) 即可, 但是无法解密 只能使用 md5推荐解密接口(需收费 不推荐使用)

  2. base64_encode 加密 较为简单 可以使用 base64_decode 进行解密 (推荐使用)

  3. password_hash 加密 使用方法 password_hash($pwd,PASSWORD_DEFAULT) 无法解密 但可以使用 password_verify()函数进行校验密码  使用方法 password_verify($pwd,$hash_pwd);

  4. 手册链接 :http://www.php.net/manual/zh/function.password-verify.php

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post