mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-12-03 21:49:02 +01:00
15 lines
243 B
C
15 lines
243 B
C
|
#pragma once
|
||
|
|
||
|
#include <stddef.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
// http://xoroshiro.di.unimi.it/xoroshiro128plus.c
|
||
|
struct WuRngState {
|
||
|
uint64_t s[2];
|
||
|
};
|
||
|
|
||
|
uint64_t WuRandomU64();
|
||
|
uint32_t WuRandomU32();
|
||
|
|
||
|
void WuRandomString(char* out, size_t length);
|