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
Hide data in images while maintaining perceptual similarity and extract it from printed and photographed images.
A reverse proxy solution that provides data access control, monitoring, and security policy enforcement for databases and APIs within organization's infrastructure.
Microsoft Azure's dedicated HSM for secure key management and cryptographic operations.
Microsoft BitLocker is a full volume encryption feature in Windows for protecting data on lost or stolen devices, with tools and resources for implementation.
PINNED

ImmuniWeb® Discovery
ImmuniWeb Discovery is an attack surface management platform that continuously monitors an organization's external digital assets for security vulnerabilities, misconfigurations, and threats across domains, applications, cloud resources, and the dark web.

InfoSecHired
An AI-powered career platform that automates the creation of cybersecurity job application materials and provides company-specific insights for job seekers.

Mandos Brief Newsletter
A weekly newsletter providing cybersecurity leadership insights, industry updates, and strategic guidance for security professionals advancing to management positions.

Checkmarx SCA
A software composition analysis tool that identifies vulnerabilities, malicious code, and license risks in open source dependencies throughout the software development lifecycle.

Check Point CloudGuard WAF
A cloud-native web application and API security solution that uses contextual AI to protect against known and zero-day threats without signature-based detection.

Orca Security
A cloud-native application protection platform that provides agentless security monitoring, vulnerability management, and compliance capabilities across multi-cloud environments.

DryRun
A GitHub application that performs automated security code reviews by analyzing contextual security aspects of code changes during pull requests.

Wiz
Wiz Cloud Security Platform is a cloud-native security platform that enables security, dev, and devops to work together in a self-service model, detecting and preventing cloud security threats in real-time.