WP-Includes/Sodium_compat

This directory provides cryptographic compatibility for WordPress using the Sodium (crypto) library. It includes secure cryptographic functions, polyfills for older PHP versions, and utilities for key management and secure message handling crucial for WordPress security features.

Back to WP-Includes
sodium_compat.php

Core Sodium compatibility library

polyfill-sodium.php

Legacy PHP security functions

keygen.php

Secure key generation tools

message-verify.php

Authenticated message handling

crypto-secp256k1.php

Elliptic curve implementation

README.crypto

Security implementation docs

Cryptographic functions require direct PHP 7+ compatibility extensions. Modify only with valid security tools.