Way to interface with Intel's new DRNG (RDRAND instruction) from C#? [closed]

吃可爱长大的小学妹 提交于 2019-12-10 13:36:33

问题


I'm looking to consume Intel's Digital Random Number Generator (the RDRAND instruction in Ivy Bridge) from a C# assembly. I've looked at cpp libs but I was hoping there was a more "managed" solution. Any ideas?


回答1:


The best I can find is here:

  • Rdrand manual and library (Windows* version)
  • Rdrand manual and library (Linux* and OS X* version)

You can download and compile (link, etc) your own. If you know someone who knows C++, write some extern methods for P/Invokes from C#.



来源:https://stackoverflow.com/questions/15691251/way-to-interface-with-intels-new-drng-rdrand-instruction-from-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!