wp-includes-sodium-compat

WordPress Cryptographic Compatibility Layer

Project Overview

wp-includes-sodium-compat is a critical cryptographic compatibility library for WordPress, providing secure encryption and decryption mechanisms across different PHP environments.

Key Features

Installation

composer require paragonie/sodium_compat

Quick Usage Example


use ParagonIE\Sodium\Compat;

$message = 'Secure WordPress Encryption';
$key = random_bytes(SODIUM_CRYPTO_SECRETBOX_KEYBYTES);
$nonce = random_bytes(SODIUM_CRYPTO_SECRETBOX_NONCEBYTES);

$encrypted = Compat::crypto_secretbox($message, $nonce, $key);
            

Contribute to the Project

Open-source project welcoming contributions. Help improve WordPress cryptographic compatibility!

GitHub Repository
Generated: Sep 13, 2025
Generated by: @Anonymous
Visited: 1 time
Powered by kuber.studio
Generated: Sep 13, 2025
Generated by: @Anonymous
Visited: 14 times
Powered by kuber.studio