PHP Package: paragonie/sodium_compat

Sodium_compat is a PHP library providing compatibility with libsodium, a modern, easy-to-use software library for encryption, decryption, signatures, password hashing, and more.

Current Version: 2.1.0
Last Updated: 2024-09-04
PHP Requirement: >=7.1
Dependencies: paragonie/constant_time_encoding
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Sodium_compat is a PHP library that allows developers to utilize the powerful features of libsodium in their PHP applications. It offers a secure and efficient way to handle cryptographic operations such as encryption, decryption, and authentication. With sodium_compat, developers can enhance the security of their applications and protect sensitive data from unauthorized access.

🔗 View on GitHub

Download Latest Version: 2.1.0

Download Download v2.1.0

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.1.0/autoload.php';

use ParagonIE\Sodium_Compat\Compat;
use ParagonIE\Sodium_Compat\Def;


$obj = new ParagonIE\Sodium_Compat\Compat();
echo "✅ Example created successfully.";

?>

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