rdseed 0.1.0-beta.6

Rust interface for RDRAND / RDSEED CPU instructions
Documentation

RDSEED / RDRAND

Version License MSRV dependency status Documentation Downloads

Simple interface to rdseed / rdrand instructions.

API

  1. get64, 32, 16 - nonblocking variants returning an Option.
  2. fill_bytes - fills byte slice with random values. blocking function.
  3. blocking wrapper returning random number when ready and panicking if operation is not supported by hardware.
  4. is_available function for query if hardware supports random operations.
  5. rand module for strong pseudo random RDRAND operations. These operations will less likely to block. Useful for generating lot of random numbers quickly.
  6. Crate defaults to true random RDSEED operations.

License

This is free and unencumbered software released into the public domain.

This code can be used under terms of CC0 or the Unlicense.

Unlicense logo