PHP Package: paragonie/halite

Halite is a PHP library for easy and secure encryption and decryption operations, providing high-level abstractions for developers.

Current Version: 5.1.3
Last Updated: 2025-01-23
PHP Requirement: >=7.1
Dependencies: None

Package Description

Halite is a modern PHP library that simplifies cryptographic operations, offering a user-friendly interface for encryption, decryption, and key management. It follows best practices to ensure data security and integrity, making it an ideal choice for applications that require robust cryptographic functionalities.

🔗 View on GitHub

Download Latest Version: 5.1.3

Download Download v5.1.3

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

use Halite\Crypto;
use Halite\Symmetric\EncryptionKey;
use Halite\Symmetric\EncryptionKeyPair;
use Halite\Symmetric\AuthenticatedEncryptionKey;
use Halite\Symmetric\AuthenticatedEncryptionKeyPair;


$obj = new Halite\Crypto();
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.