RandomLib Logo

RandomLib

0
Free
Visit Website

A library for generating random numbers and strings of various strengths. This library is useful in security contexts. Install Via Composer $ composer require ircmaxell/random-lib Usage Factory A factory is used to get generators of varying strength: $factory = new RandomLib\Factory; $generator = $factory->getGenerator(new SecurityLib\Strength(SecurityLib\Strength::MEDIUM)); A factory can be configured with additional mixers and sources but can be used out of the box to create both medium and low strength generators. Convenience methods are provided for creating high, medium, and low strength generators. Example: $generator = $factory->getMediumStrengthGenerator(); $factory->getLowStrengthGenerator() Convenience method to get a low strength random number generator. Low Strength should be used anywhere that random strings are needed in a non-cryptographical setting. They are not strong enough to be used as keys or salts. They are however useful for one-time use tokens. $factory->getMediumStrengthGenerator() Convenience method to get a medium strength random number generator. Medium Strength should be used for most needs of a cryptographic nature. They are strong enough to

FEATURES

ALTERNATIVES

Microsoft SEAL is a homomorphic encryption library that allows computations on encrypted data without decryption, supporting integer and approximate real number arithmetic.

Showcasing bad cryptography and discussing flawed crypto design.

A tool for recovering files by scanning block devices and extracting them based on 'magic bytes' in file contents.

A browser extension that helps you find and track sensitive data exposure across the web.

Pack up to 3MB of data into a tweetable PNG polyglot file.

A versatile steganography tool with various installation options and detailed usage instructions.

A steganographic file system in userspace for plausible deniability of files.

Tenzir is a data pipeline solution for optimizing cloud and data costs, running detections and analytics.