search

Home  >  Q&A  >  body text

密码要是加密了那验证时候是怎么验证的?

密码加密存数据库。那验证密码时候验证的是明文还是加密的数据????

phpcn_u283phpcn_u2832910 days ago1406

reply all(5)I'll reply

  • 数据分析师

    数据分析师2017-09-30 23:45:13

    If the password is encrypted, how will it be verified during verification? -PHP Chinese website Q&A-If the password is encrypted, how is it verified during verification? -PHP Chinese website Q&A

    Please watch and learn.

    reply
    0
  • PHP中文网

    PHP中文网2016-12-26 09:08:52

    "SELECT * from user where username='{$username}' and password='".md5(输入的明文)."'"

    reply
    0
  • 迷茫

    迷茫2016-12-26 09:08:29

    验证加密的,有什么不会的可以加交流群 374224296!

    reply
    0
  • 怪我咯

    怪我咯2016-12-26 09:04:27

    加密的数据

    reply
    0
  • 阿神

    阿神2016-12-26 09:03:56

    验证加密的数据,在数据库存的也是加密过的,没办法解密

    reply
    0
  • Cancelreply