gpt4 book ai didi

node.js - node.js 中的 SHA256-CRYPT/SHA512-CRYPT

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:15:03 27 4
gpt4 key购买 nike

我使用 dovecot 作为我的邮件传输代理,我的目标是使用 strongest password scheme我的系统支持:SHA512-CRYPTSHA256-CRYPT(BLF-CRYPT 不工作)。

对于我自己编写的网络界面,我在 node.js 中寻找一个函数或库来散列密码(使用 SHA***-CRYPT)。

最佳答案

您可以考虑检查:https://github.com/mvo5/sha512crypt-node其中包含 JS 中 sha512crypt 的实现。它非常新,但通过了 glibc 引用实现中的测试向量。

关于node.js - node.js 中的 SHA256-CRYPT/SHA512-CRYPT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53651590/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com