Skip to content

ryanmcdonough/jQuery.uheprnGen

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 

jQuery.uheprnGen

Ultra High Entropy Pseudo-Random Number Generator jQuery Plugin.

That allows you to quickly generate... well... Ultra High Entropy Pseudo-Random Numbers.


$(this).uheprnGen(options); Returns: Random Numbers

Description

By passing a range & count as options (or leaving it blank will use the defaults of 10000 & 10000) to the uheprnGen plugin you will get a block of Psuedo Random Numbers back.

Example

var options = { range: 10001, count: 10001 }; var x = $(this).uheprngGen(options); $("#output").html(x);

So you can set the range and the count for generator, or leave them blank. In this example I set them both to 10001 and set the #output html to be the PRN generated.

Demo

Visit: http://ryanmcdonough.co.uk/prng/index.html

Misc

This is my first ever jQuery plugin so issues, pointers, glaring problems or any idiotic code found then please give me a shout!