需要有关Sha256的信息 [英] Need information on Sha256

查看:99
本文介绍了需要有关Sha256的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想将字符串和文件转换为sha256哈希并进行加密.
能给我示例应用程序或dll进行测试吗?

谢谢
Babu.K

[删除电子邮件以避免垃圾邮件]

Hi,

I want to convert string and file to sha256 hashing as well as encrypt.
Can you give me the sample application or dll to test?

Thanks
Babu.K

[Email removed to avoid SPAM]

推荐答案

找到它并不难:

http://msdn.microsoft.com/en-us/library/system. security.cryptography.sha256.aspx [ ^ ]

http://www.obviex.com/samples/Code.aspx?Source = HashCS& Title =哈希%20Data& Lang = C%23 [
It''s not that hard to find:

http://msdn.microsoft.com/en-us/library/system.security.cryptography.sha256.aspx[^]

http://www.obviex.com/samples/Code.aspx?Source=HashCS&Title=Hashing%20Data&Lang=C%23[^]


Good luck!


SHA256用于从内容生成哈希值,并且不进行加密
您必须选择一种加密方法.
http://msdn.microsoft.com/en-us/library/system. security.cryptography.aesmanaged.aspx [ ^ ]
SHA256 is for generating a hash value from content and is not encrypting
You have to choice a encryption method.
http://msdn.microsoft.com/en-us/library/system.security.cryptography.aesmanaged.aspx[^]


这篇关于需要有关Sha256的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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