Using Libsodium in PHP Projects

A guide to using the libsodium PHP extension for modern, secure, and fast cryptography. Open Source.

Random Data

Because PHP 7 provides a secure source of randomness, these features were not included in version 2 of the Sodium PHP extension.

To view the old API documentation, click here.

Extra Information