Skip to content

MTY_GetRandomBytes

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Generate cryptographically strong random bytes.

void MTY_GetRandomBytes(
    void * buf,
    size_t size
);

Parameters

buf (void *)

Output buffer.

size (size_t)

Size in bytes of buf.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: Crypto

Clone this wiki locally