wasm-nats-producer-client/wit/deps/wasi-random-0.2.0/package.wit
2024-12-14 02:15:08 +01:00

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>;
}