Category:Wren-srandom: Difference between revisions

m
Now using internal links to related pages
m (Tidied links.)
m (Now using internal links to related pages)
 
Line 2:
'''Wren-srandom''' is a small module which generates secure random integers from the ''/dev/urandom'' special file on Linux or other Unix-like operating systems. It consists of a single class SRandom which has three static methods
 
It is the twenty-third in a series of modules (listed on the language's [https[://rosettacode.org/wiki/Category:Wren |main page]]) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily.
 
To use it you need to copy the source code (in the [https[://rosettacode.org/wiki/Category_talk:Wren-srandom |talk page]]) to a text file called ''srandom.wren'' and place this in the same directory as the importing script so the command line interpreter can find it.
 
Wren-srandom has a dependency on the IO module which is part of Wren-cli's standard library. As such (and unlike Wren-crypto) it can only be used in a Wren-cli script.
9,482

edits