简体   繁体   English

使用 C# 和 openTK 进行 SHA256 散列

[英]SHA256 hashing with C# and openTK

As you can probably guess im looking to create a bitcoin miner but the cryptography really isnt my thing and i've been unable to find much help through google, so how does hashing with standart openCL actually work?你可能猜到我想创建一个比特币矿工,但密码学真的不是我的事,我一直无法通过谷歌找到太多帮助,那么使用标准 openCL 进行散列实际上是如何工作的?

(Yes, i know its a broad question but any pointers would be highly appreciated) (是的,我知道这是一个广泛的问题,但任何指针都会受到高度赞赏)

I think what you need is available in the .NET Framework, have you seen the SHA256 implementations in System.Security.Cryptography ?我认为 .NET Framework 中有你需要的东西,你看到System.Security.CryptographySHA256实现了吗?

MSDN - SHA256 MSDN - SHA256

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM