Skip to main content

getRandomBytes

getRandomBytes(length): Promise<SchnorrResultWithBytes>

Get random with given length.

Parameters

length

number

The size of the random bytes

Returns

Promise<SchnorrResultWithBytes>

A promise containing the random bytes with given length.