SCRAM 客户端 Javascript implementation/example/library?
SCRAM Client Javascript implementation/example/library?
几个月前,我创建了一个小型 Java 库,为客户端和服务器提供功能。昨天它的一位用户问我如何在客户端(即浏览器)上的他的网站上实现 SCRAM 登录的示例(他已经使用我的库在服务器端使用 SCRAM)。他告诉我他找不到任何 Java 脚本示例或库,我的搜索也没有成功(这真的让我感到惊讶,我认为鉴于所有数据泄露和被盗,现在 SCRAM 使用更广泛登录凭据)。
您是否知道可以在浏览器中使用此类示例或库 (javascript) 来提供 SCRAM 身份验证的客户端功能?
你可能想看看SAZZLE
SAZZLE is a pure JavaScript library for the Simple Authentication and Security Layer (SASL). The goal is to provide a simple promised-based framework for processing SASL challenges and responses.
This library includes built-in support for PLAIN and SCRAM-SHA1, while additional (or alternative) mechanisms can be added as needed.
作为 pure-javascript,您应该可以通过 Browserify 在网络上使用它(虽然我自己没有尝试过)..
几个月前,我创建了一个小型 Java 库,为客户端和服务器提供功能。昨天它的一位用户问我如何在客户端(即浏览器)上的他的网站上实现 SCRAM 登录的示例(他已经使用我的库在服务器端使用 SCRAM)。他告诉我他找不到任何 Java 脚本示例或库,我的搜索也没有成功(这真的让我感到惊讶,我认为鉴于所有数据泄露和被盗,现在 SCRAM 使用更广泛登录凭据)。
您是否知道可以在浏览器中使用此类示例或库 (javascript) 来提供 SCRAM 身份验证的客户端功能?
你可能想看看SAZZLE
SAZZLE is a pure JavaScript library for the Simple Authentication and Security Layer (SASL). The goal is to provide a simple promised-based framework for processing SASL challenges and responses.
This library includes built-in support for PLAIN and SCRAM-SHA1, while additional (or alternative) mechanisms can be added as needed.
作为 pure-javascript,您应该可以通过 Browserify 在网络上使用它(虽然我自己没有尝试过)..