UNPKG

@gang-js/core

Version:

a state sharing algorithm

4 lines (3 loc) 118 B
export function getRandomBytes(length = 16) { return globalThis.crypto.getRandomValues(new Uint8Array(length)); }