PHP Manual
Function Reference
Cryptography Extensions
Crack
CSPRNG
Hash
Mcrypt
Mhash
OpenSSL
Password Hashing
crack_opendict
Introduction
Cryptography Extensions
PHP Manual
CSPRNG
Table of Contents
Introduction
Installing/Configuring
Requirements
Installation
Runtime Configuration
Resource Types
Predefined Constants
CSPRNG Functions
random_bytes
— Generates cryptographically secure pseudo-random bytes
random_int
— Generates cryptographically secure pseudo-random integers