Returns count secure random bytes as a raw binary string, without Base64. Use crypt.generatebytes when you want the Base64 form.

Parameters

number
required
How many bytes to generate.

Returns

string
The raw random bytes.

Example

Errors