有谁知道 bcrypt 的良好实现吗?我知道这个问题之前已经被问过,但得到的回应很少。我有点不确定是否要选择谷歌中出现的实现,并且我认为在 System.Security.Cryptography 命名空间中使用 sha256 可能会更好,至少我知道它是受支持的!你有什么想法?
最佳答案
听起来您正在寻找 BCrypt.net :
BCrypt.net is an implementation of OpenBSD's Blowfish-based password hashing code, described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazières. It is a direct port of jBCrypt by Damien Miller, and is thus released under the same BSD-style license. The code is fully managed and should work with any little-endian CLI implementation -- it has been tested with Microsoft .NET and Mono.
关于bcrypt 的 .net 实现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/873403/