本文介绍了如何在C#中实现bcrypt.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 所以我在尝试实施bcrypt时谷歌相当多,但是似乎很少有关于将bcrypt实现到c#桌面应用程序的文章和那些缺乏细节的文章我通常不会为我的程序实现密码验证,因为它不是然而,对于我目前的项目需要,并且在研究之后我得出结论,快速哈希算法如SHA 256和SHA 512不是密码散列的好方法,因为攻击可以更容易地计算大量哈希,其中bcrypt减慢了这个处理a-lot 我在应用程序中有一个密码框,我想在用户输入密码时根据Microsoft SQL中的存储哈希值进行验证服务器表 所以我想请求社区提供一些帮助以及从哪里开始 如果有人有使用Bcrypt进行密码散列的经验并且愿意帮助我会非常感激 我尝试了什么: 所以我谷歌了试图实施bcrypt的公平数额然而似乎很少有关于将bcrypt实现到c#桌面应用程序的文章so I've google a fair amount on trying to implement bcrypt however it seems very few articles exist on implementing bcrypt into c# desktop applications and those that do lack detail I don't usually implement password validation for my programs as it not needed however for my current project it is need and after research ive come to the conclusion that fast hash algorithm such as SHA 256 and SHA 512 are not good way for password hashing as an attack can easier calculate lots of hashes where as bcrypt slows down this process a-lot I've a password box within the application that i would like to whenever a user enters their password it validates against the stored hashed in the Microsoft SQL server tableso i would like to ask the community for some help on this and where to startif anyone has any experience in using Bcrypt for password hashing and is willing to help i would greatly appreciate itWhat I have tried:so I've google a fair amount on trying to implement bcrypt however it seems very few articles exist on implementing bcrypt into c# desktop applications推荐答案 这篇关于如何在C#中实现bcrypt.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-11 17:25