Pure Programmer
Blue Matrix


Cluster Map

Project: Random Bytes

Write a program to generate a random stream of bytes. The program should accept three values on the command line: minimum byte value, maximum byte value and the number of bytes to generate. Include assertions to check that the command line min and max are in the range 0-255.

Output
$ node RandomBytes.js 32 126 100 @-kK=BRe|L:(}J5 $K2]'C$Q$hQu vr\@;INt(5w.S*w*w|c0DN'Y*w]CnuQ~Pb45H :!b:3tI7brKf}hry>.`zMcfsCE@xS&6"$ node RandomBytes.js 48 57 100 0042317689331699209045591392199958118605843935026628827354490184967213214586010997677060271340571002

Solution