Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Cryptela™ > Functions
random_number/1
Description
random_number/1 is an Erlang function exported by "cryptela" module.
This function generates a random integer value.
References
•random_data/1
Parameters
Name
Type
Size
integer()
Size of the data entropy in number of bytes.
Result
Value or Type
On success returns an unique integer value.
Code Sample
> cryptela:random_number(4).
1140721891
128066998