Generate an array of random bytes collected from hardware noise.
import { customRandom, random } from 'nanoid'const nanoid = customRandom("abcdef", 5, random) Copy
import { customRandom, random } from 'nanoid'const nanoid = customRandom("abcdef", 5, random)
Size of the array.
An array of random bytes.
Generate an array of random bytes collected from hardware noise.