2017 © Pedro Peláez
 

library random

A shrimp of a random number generation library

image

caridea/random

A shrimp of a random number generation library

  • Monday, March 21, 2016
  • by doublecompile
  • Repository
  • 1 Watchers
  • 1 Stars
  • 94 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

caridea-random

Caridea is a miniscule PHP application library. This shrimpy fellow is what you'd use when you just want some helping hands and not a full-blown framework., (*1)

, (*2)

This is its random number generation component. It has providers for Mcrypt and OpenSSL. Other random number generation in PHP isn't considered secure enough to have an adapter here., (*3)

Build Status Scrutinizer Code Quality Code Coverage, (*4)

Installation

You can install this library using Composer:, (*5)

$ composer require caridea/random

This project requires PHP 5.5 and has no dependencies., (*6)

Compliance

Releases of this library will conform to Semantic Versioning., (*7)

Our code is intended to comply with PSR-1, PSR-2, and PSR-4. If you find any issues related to standards compliance, please send a pull request!, (*8)

Examples

Just a few quick examples., (*9)

if (\Caridea\Random\Mcrypt::isAvailable()) {
    $rando = new \Caridea\Random\Mcrypt();
    $bytes = $rando->generate(32);
}
if (\Caridea\Random\OpenSsl::isAvailable()) {
    $rando = new \Caridea\Random\OpenSsl();
    $bytes = $rando->generate(32);
}

The Versions

21/03 2016

dev-master

9999999-dev http://github.com/libreworks/caridea-random

A shrimp of a random number generation library

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

cryptography crypto random csrng

21/03 2016

1.0.0

1.0.0.0 http://github.com/libreworks/caridea-random

A shrimp of a random number generation library

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

cryptography crypto random csrng

03/06 2015

0.1.0

0.1.0.0 http://github.com/libreworks/caridea-random

A shrimp of a random number generation library

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

cryptography crypto random csrng