GithubHelp home page GithubHelp logo

fortuna's Introduction

General Information
===================

This is implementation of Fortuna PRNG (https://en.wikipedia.org/wiki/Fortuna_%28PRNG%29) in C++11 using Boost and Crypto++ libraries, written by Adam Mizerski <[email protected]>.

Components:
  - libfortuna          - Implementation of Fortuna algorithm.
  - fortunad            - Daemon which contains Accumulator.
  - libfortuna_daemon   - Libraries implementing communication layer with daemon for entropy sources and clients.
  - fortuna_client      - Client which reads random data from daemon.

Licensing:
  - Libraries (libfortuna, libfortuna_daemon) are released under LGPLv3 or later.
  - Programs (everything else) are released under GPLv3 or later.

Tested with:
  - g++         4.9.2
  - clang++     3.5.0
  - autoconf    2.69
  - automake    1.13.4
  - libtool     2.4.2
  - Boost       1.54.0
  - Crypto++    5.6.2


Notes about libfortuna
======================
  - You must provide the seed file. For example by 'dd if=/dev/random of=./fortuna.seed bs=64 count=1'. Please note that it's not safe when done at first boot on a virtual machine without entropy provided by host.
  - SHA3 (Keccak) is used instead of double SHA2.
  - Random data is generated in blocks of bytes. User must allocate enough memory to store whole blocks.
    In Accumulator there are output_block_length variable and bytes_to_blocks method, which helps with this task.


Contributing
============
  - Patches, bug reports, improvements and new features are welcome and appreciated.
  - As is sending Bitcoins at 15yFjvHc8BZehVHcammmAvd4qZ6ArFMJRF

fortuna's People

Contributors

etam avatar

Watchers

James Cloos avatar Nikos M. 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.