1 रिपॉजिटरी
Selects the best available operating-system random source through a security-prioritized fallback chain.
Distinct from Fallback Chains: Distinct from Fallback Chains: focuses on CSPRNG source selection with security prioritization, not network traffic fallback.
Explore 1 awesome GitHub repository matching networking & communication · Priority-Based CSPRNG. Refine with filters or upvote what's useful.
randomcompat is a backward-compatibility library that provides cryptographically secure random number generation functions for PHP 5.x environments. It delivers the randombytes() and random_int() functions that are natively available in PHP 7+, enabling legacy applications to generate secure random bytes and unbiased integers from system entropy sources. The library implements a priority-based fallback chain across operating-system CSPRNGs, selecting the best available random source in order of security. It uses rejection sampling to convert raw random bytes into unbiased integers withi
Selects the best available operating-system random source through a security-prioritized fallback chain.