GithubHelp home page GithubHelp logo

tim-janik / scl Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 280 KB

Small C/C++ Bits

License: Mozilla Public License 2.0

Makefile 0.74% C++ 26.33% C 72.93%
chacha chacha8 shishua prng csprng entropy keccak mwc public-domain rdrand

scl's Introduction

SCL

The Small/simple C/C++ Library (SCL) provides various algorithms in a portable way, with little to no external dependencies. The library is written in C++17 and uses the MPL-2.0 License or Public Domain dedications.

The subdirectories are structured as follows:

  • mwc256/ contains a Public Domain 256 bit Multiply-With-Carry PRNG implementation for generic CPUs (ALU). With just a multiplication and add per round, this PRNG is as simple as it can get. On 64 bit machines it is probably the fastest single-data PRNG implementation, it passes PractRand at 32TB.
  • shishua/ contains a Public Domain Shishua PRNG implementation for generic CPUs (ALU), the SSE2/3 and AVX2 instruction set variants. This is currently the fastest known PRNG implementation, it passes PractRand at 32TB.
  • chacha/ contains a Public Domain ChaCha block cipher implementation for generic CPUs (ALU), the SSE2/3 and AVX2 instruction set variants. This is probably the fastest CSPRNG implementation, it passes PractRand at 32TB.
  • keccak/ contains a Public Domain Keccak PRNG implementation for generic CPUs (ALU) and system entropy gathering code according to the "Welcome to the Entropics: Boot-Time Entropy in Embedded Devices" paper. Using Keccak allows for a 1600 bit CSPRNG entropy pool, it passes PractRand at 32TB.
  • spline/ contains a Public Domain cubic spline interpolation implementation, which can be used to create an approximation of a function given a number of knots (control points) with third-order polynomial segments connecting each pair of data points.

scl's People

Contributors

espadrine avatar noloader avatar tim-janik avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.