Skip to main content

Arguments

number
required
Number converted to an integer before allocation. Values less than or equal to 0 are changed to 1.

Returns

string
Base64 encoding of the generated raw bytes. The returned string length is not the requested byte count.

Example

Generate bytes and decode the Base64 result when raw bytes are needed.