hdelacerna/php-crypto-utils

A lightweight PHP library for AES-256-CBC encryption/decryption using OpenSSL-compatible key derivation and formatting.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/hdelacerna/php-crypto-utils

v1.0.0 2025-06-30 12:10 UTC

This package is auto-updated.

Last update: 2025-12-30 14:11:45 UTC


README

A lightweight PHP library for AES-256-CBC encryption and decryption using OpenSSL-compatible formatting. It includes both an instance-based Encryption class and a static Crypto facade for easy use.

🚀 Features

  • AES-256-CBC symmetric encryption
  • OpenSSL-compatible output (with Salted__ prefix)
  • Base64 encoded results
  • Passphrase-based key derivation (similar to EVP_BytesToKey)
  • Facade for static usage

📦 Installation

composer require hdelacerna/php-crypto-utils