wasm-nats-stream-client/wit/deps/wasi-random-0.2.0/package.wit

19 lines
329 B
Plaintext

package wasi:random@0.2.0;
interface random {
get-random-bytes: func(len: u64) -> list<u8>;
get-random-u64: func() -> u64;
}
interface insecure {
get-insecure-random-bytes: func(len: u64) -> list<u8>;
get-insecure-random-u64: func() -> u64;
}
interface insecure-seed {
insecure-seed: func() -> tuple<u64, u64>;
}