Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 837
Jeff Avatar asked Mar 28 '13 20:03

Jeff


1 Answers

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#.

like image 103
IAbstract Avatar answered Oct 04 '22 02:10

IAbstract