如何在c#中使用salt哈希密码? [英] How do i hash a password with salt in c#?

查看:76
本文介绍了如何在c#中使用salt哈希密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在c#中使用salt哈希密码以及如何在登录页面中对其进行授权,请提供完整的示例。



我是什么尝试过:



我试图谷歌它,但没有我在哪里找到c#

解决方案

可能你没有足够的搜索...在我第一次搜索hash salt C#时我得到了这两个:



密码哈希 - 做对了 [ ^ ]



如何验证密码 [ ^ ]


为什么不使用Aspnet微软的会员功能,它非常容易实现,并有很多有用的内置功能。<​​br />


请看下面的链接:





[ ASPNET会员]


how do i hash a password with salt in c# and how to authorize it in login page, Please provide complete example for it.

What I have tried:

I tried to google it, but no where i found solution for c#

解决方案

Probably you haven't searched enough... In my first search with "hash salt C#" I got these two:

Salted Password Hashing - Doing it Right[^]

How to Validate Passwords[^]


Why don't you use the Aspnet membership feature of microsoft, its a very easy implemented and have lots of useful inbuilt functions.

please have a look on below link :


[ASPNET MEMBERSHIP]


这篇关于如何在c#中使用salt哈希密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆