[−][src]Module quantum_random::web_async
Contains the means of obtaining the data, as well as fetching unsigned or signed primitives
Structs
EntropyBank | The default structure for holding random bytes |
Statics
ENABLE_DEBUG | Toggles debug |
ENTROPY_BANK_EXPIRE_MS | In the case the https stream is interrupted (I've had this happen quite frequently), increase this value. 10 should be more than enough for a stable connection |
ENTROPY_BANK_SIZE | |
MAX_BLOCK_SIZE | There are 1024 x 1024 possible hex values. There are thus 1024 x 1024 x 2 possible bytes |
MAX_RETRY_COUNT | Enable temporarily if you're encountering problems with fetching the data |
Functions
extract_values_anu | Extracts the bytes from the downloaded string for anu qrng |
next_i8s | Asynchronously produces |
next_i16s | Asynchronously produces |
next_i32s | Asynchronously produces |
next_i64s | Asynchronously produces |
next_i128s | Asynchronously produces |
next_u8s | Asynchronously produces |
next_u16s | Asynchronously produces |
next_u32s | Asynchronously produces |
next_u64s | Asynchronously produces |
next_u128s | Asynchronously produces |