PHP Package: paragonie/sodium_compat

Sodium PHP library for cryptographic operations, ensuring secure data handling and efficient encryption.

Current Version: 2.4.0
Last Updated: 2025-10-06
PHP Requirement: ^8.1
Dependencies: None

Package Description

Sodium_compat is a PHP library that provides a secure and performant solution for cryptographic operations. It offers easy-to-use functions for encryption, decryption, and other cryptographic tasks, ensuring data integrity and confidentiality. With support for the latest security standards, sodium_compat is a reliable choice for developers looking to enhance the security of their applications.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.4.0

Download Download v2.4.0

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com

require_once 'libs/paragonie/sodium_compat/2.4.0/loader.php';
use ParagonIE\Sodium_Compat;

$obj = new Sodium_Compat();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.