Skip to content

Clients 2.0.0

Latest

Choose a tag to compare

@ajebasingh ajebasingh released this 03 Nov 06:33

rdrand.com clients for Node.js, Kotlin/Java, Rust and .NET. They use the CPU's own hardware random number generator and fall back to the free rdrand.com API:

  • RDRAND on Intel and AMD x86_64 (Linux, Windows, macOS)
  • RNDR on ARMv8.5+ such as AWS Graviton3 and Graviton4

Outputs have the API's formats whichever source produced them, and each client reports the source it used (rdrand, rndr or service).

File Install
jebtek-rdrand-2.0.0.tgz Node.js 18+: npm install https://github.com/JebteK/RdRand/releases/download/v2.0.0/jebtek-rdrand-2.0.0.tgz
rdrand-kotlin-2.0.0.jar Kotlin/Java 11+: implementation(files("libs/rdrand-kotlin-2.0.0.jar"))
rdrand-rust-2.0.0.zip Rust crate source; or rdrand-client = { git = "https://github.com/JebteK/RdRand", tag = "v2.0.0" }
JebteK.RdRand.2.0.0.nupkg .NET Standard 2.0: dotnet add package JebteK.RdRand --version 2.0.0 --source <folder with the .nupkg>

Tested on real hardware: Intel Xeon (rdrand), AWS Graviton3 (rndr) and Graviton2 (no RNG, so the API fallback). The Windows and macOS x64 native libraries are built and export-checked, but not run.

These are the same files served at https://rdrand.com/Home/Downloads.

SHA-256:

e3a832b7c48a88af5bc680bee5e59a69149db0664ef67512f2be085585ab336f  jebtek-rdrand-2.0.0.tgz
9bccc0286d76ca7ab6f048c22f00ebf27e3178729c71f26fcd5718a7aa0b0d7e  rdrand-kotlin-2.0.0.jar
91f7011727b4a3223126558f594c41db79e7c53d8616ece2da9aaad5468cb44c  rdrand-rust-2.0.0.zip
3b9ebc83d225a3befe6d6adac67e71c6c5f9c0a35eb8315e1b17c79fcbf3d190  JebteK.RdRand.2.0.0.nupkg