问题
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/Invoke
s from C#.
来源:https://stackoverflow.com/questions/15691251/way-to-interface-with-intels-new-drng-rdrand-instruction-from-c