[Request] Javascript Crypto-API Random Numbers

Post your work in progress addons and get feedback

Post » Mon Sep 01, 2014 2:22 am

https://developer.mozilla.org/en-US/doc ... ndomValues

I'd like a plugin that is essentially a drop in replacement for random(), except it uses the crypto.API.

Basically, the sorts of random numbers that would be useful in a multiplayer game.
B
9
S
3
G
1
Posts: 191
Reputation: 1,725

Post » Tue Sep 02, 2014 12:55 am

Here's my quick stab at it, as i could take advantage on a better random expression.

The repository is located here: http://git.machina.hr/c2plugins/Crypto-API

Documentation is located on wiki pages: http://git.machina.hr/c2plugins/Crypto-API/wikis/home

If you're not into git and contributing to this simple and immature plugin, just download whole repository as a zip (button located on right side). A simple test and a .c2addon file included in the repo.

Released under MIT license.
Be nice until it's time to not be nice
B
36
S
9
G
9
Posts: 293
Reputation: 6,662


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests