Returns count secure random bytes as a Base64 string. For raw bytes without the Base64 wrapper use crypt.random.

Parameters

number
required
How many bytes, from 0 to 512.

Returns

string
Base64 of the random bytes.

Example

Errors