⚠️ To ensure full functionality, the above dependencies might be required.
Package Description
Halite offers a robust set of cryptographic functions for securing sensitive data in PHP applications. It provides a user-friendly interface for symmetric encryption, public-key encryption, password-based encryption, and more. With Halite, developers can enhance the security of their PHP projects by implementing modern cryptographic techniques with ease.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/paragonie/halite/5.1.4/loader.php';
require_once 'libs/paragonie/sodium_compat/2.4.0/loader.php';
use ParagonIE\Halite\KeyFactory;
use ParagonIE\Halite\Symmetric\Encryption;
$obj = new KeyFactory();
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.