【发布时间】:2022-11-22 18:56:25
【问题描述】:
我正在用 php 制作一个注册和登录系统。想用 oauth2 加密密码。
有可能这样做吗?如果是,那么请分享任何这样做的好例子。
【问题讨论】:
-
你好。 Oauth2 与密码加密无关,它是一种身份验证流程的协议。如果要实现它,请参阅 oauth.net 了解详细信息。
标签: oauth-2.0
我正在用 php 制作一个注册和登录系统。想用 oauth2 加密密码。
有可能这样做吗?如果是,那么请分享任何这样做的好例子。
【问题讨论】:
标签: oauth-2.0
在https://oauth.net/2/、OAuth 2.0 is the industry-standard protocol for authorization.。好吧,它不是 crypt 方法。
如果你想在 php 中实现密码加密方法,bcrypt 是很好的方法。更多信息:PHP: password_hash。
【讨论】: