UNPKG

@lukeed/csprng

Version:

An alias package for `crypto.randomBytes` in Node.js and/or browsers

2 lines (1 loc) 65 B
export function random<T = Buffer | Uint8Array>(len: number): T;