Displaying 1 to 20 from 20 results

forge - A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps

  •    Javascript

A native implementation of TLS (and various other cryptographic tools) in JavaScript. The Forge software is a fully native implementation of the TLS protocol in JavaScript, a set of cryptography utilities, and a set of tools for developing Web Apps that utilize many network resources.

fastrand - Fast random number generation in Python

  •    C

Requirements: Linux-like system (including a Mac), a C compiler, Python.

SIMDxorshift - Fast random number generators: Vectorized (SIMD) version of xorshift128+

  •    C

Xorshift are a family of pseudo-random number generators (RNG) invented by Marsaglia.We present a vectorized version of xorshift128+, a popular random-number generator part of this family. It is written in C. The implementation uses Intel's SIMD instructions and is based on Vigna's original (pure C) implementation.

fortuna - An implementation of the Fortuna RNG

  •    Java

This is an implementation of the Fortuna PRNG, read more at wikipedia or in the book Cryptographic Engineering by Bruce Schneier. It's fairly simple, add the fortuna-1.0.jar to your classpath and then create a new instance using the method createInstance on the class se.grunka.fortuna.Fortuna. What you get is a subclass of the normal Java Random class so wherever that can be used so can this. You should re-use this instance since creating a new one takes a little while, there is no gain in re-initializing it and the instance is thread safe.




stochator - Little utility library for random value generation.

  •    Javascript

Stochator is a tiny library providing for creating a variety of random value generators. To create a Stochator object, simply invoke the constructor and pass it an options object with a kind property. If not provided, kind is 'float'.

random-seed - GRC's UHE PRNG in node (Ultra-High Entropy Pseudo-Random Number Generator by Gibson Research Corporation)

  •    Javascript

Gibson Research Corporation's Ultra-High Entropy Pseudo-Random Number Generator ported to node. There were a few modifications made to the original library to allow seeding, and to pass jshint.


node-scuid - A slim, fast alternative to cuid collision-resistant IDs

  •    Javascript

Collision-resistant IDs optimized for horizontal scaling and performance. A slim, alternative, and compatible implementation of cuid for node, also featuring a wide range of options, as well as custom random number generator support. It can serve as a drop-in replacement, and is also faster than cuid.

mersenne-twister - This Mersenne Twister is a fast pseudo-random number generator (PRNG) in C++

  •    C++

This is an implementation of the fast pseudo-random number generator (PRNG) MT19937, colloquially called the Mersenne Twister. It was given this name because it has a period of 2^19937 - 1, which is a Mersenne prime. The code here is actually ~1.6 times faster (on Intel CPUs) than the reference implementation mt19937ar.c (see below).

portable-snippets - Collection of miscellaneous portable C snippets.

  •    C

This is a collection of public domain (CC0) code snippets written in C for performing various common tasks which are typically OS, architecture, and/or compiler-dependent. Basically, our goal is to move those annoying preprocessor conditionals from your code to ours. Modules have no fixed target (such as C89) since that would preclude some functionality; instead, we simply try to provide the widest support we can for each module. If you have a platform which isn't supported for a particular feature but could be, please let us know; we'd be happy to try to work out a way to support it.

granderl - Fast-and-loose PRNG NIF

  •    C

Experiments in fast "random" number generation for Erlang; though they have the same interface as rand:uniform/1, think of them more like phash2/2 with a timestamp -- not really random, but fast (hopefully). Specifically, some of the PRNGs here use methods that are known to be biased. They are not suitably for any application which assumes uniformity. They are also not guaranteed to produce uncorrelated streams when used in parallel.

prng-parkmiller-js - A Pseudo-Random Number Generator for javascript

  •    Javascript

Implementation of the Park Miller (1988) "minimal standard" linear congruential pseudo-random number generator. The generator uses a modulus constant (m) of 2^31 - 1 which is a Mersenne Prime number and a full-period-multiplier of 16807.

hmac-drbg - JS-only Hmac DRBG implementation

  •    Javascript

JS-only implementation of HMAC DRBG. This software is licensed under the MIT License.

scalaprops - property based testing library for Scala

  •    Scala

please use sbt plugin because there are some convenient features. Scalaprops emitting which seed it started with during a failing test, and providing an interface --seed=<value> for re-running the failing test with the same seed.

nes-runner - An infinite runner NES game!

  •    Assembly

This is a brand new NES game that I'm writing on stream over on Twitch.tv! The vast majority of this game has been written on stream with very little done off stream. After make is run you should have a sub-directory named bin/ that holds a bunch of stuff, namely runner.nes and some symbols files for the both the Mesen and FCEUX emulators.

random - The most RANDOM module on npm! 😜

  •    Javascript

Seedable random number generator supporting many common distributions. All distribution methods return a thunk (function with no params), which will return a series of independent, identically distributed random variables from the specified distribution.

sysrandom

  •    Nim

A simple library to generate random data, using the system's PRNG.

react-native-securerandom - A crypto-secure random bytes generator for react native

  •    CSharp

A library to generate cryptographically-secure random bytes. Uses SecRandomCopyBytes on iOS, SecureRandom on Android and System.Security.Cryptography.RandomNumberGenerator on Windows. Takes a length, the number of bytes to generate, and returns a Promise that resolves with a Uint8Array.