Crypto.randomHex >= 0.1.4

Purpose

Generate a random string and convert it as Base64

Syntax

Crypto.randomHex ( NumberbytesizeFunctioncallback );

Parameters

bytesize

callback

Return values

Examples

Crypto.randomHex(10);
>>> "9a58c8ce90a800"

Comments