【问题标题】:password encryption using OAUTH2 [closed]使用 OAUTH2 进行密码加密 [关闭]
【发布时间】:2022-11-22 18:56:25
【问题描述】:

我正在用 php 制作一个注册和登录系统。想用 oauth2 加密密码。

有可能这样做吗?如果是,那么请分享任何这样做的好例子。

【问题讨论】:

  • 你好。 Oauth2 与密码加密无关,它是一种身份验证流程的协议。如果要实现它,请参阅 oauth.net 了解详细信息。

标签: oauth-2.0


【解决方案1】:

https://oauth.net/2/OAuth 2.0 is the industry-standard protocol for authorization.。好吧,它不是 crypt 方法。

如果你想在 php 中实现密码加密方法,bcrypt 是很好的方法。更多信息:PHP: password_hash

【讨论】:

    猜你喜欢
    • 2017-03-21
    • 2015-10-08
    • 1970-01-01
    • 2016-04-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多