Download the PHP package tourze/tls-crypto-symmetric without Composer
On this page you can find all versions of the php package tourze/tls-crypto-symmetric. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package tls-crypto-symmetric
TLS Crypto Symmetric
中文
TLS symmetric encryption algorithms implementation for PHP. This library provides a comprehensive set of symmetric encryption algorithms commonly used in TLS protocols.
Installation
Quick Start
Supported Algorithms
- AES-CBC: Block cipher with Cipher Block Chaining mode
- AES-CTR: Block cipher with Counter mode
- AES-GCM: Authenticated encryption with Galois/Counter Mode
- ChaCha20-Poly1305: Stream cipher with Poly1305 authentication
- 3DES: Triple Data Encryption Standard
Usage Examples
AES-GCM (Recommended)
ChaCha20-Poly1305
AES-CBC
API Reference
CipherInterface
All cipher implementations follow the CipherInterface:
Exception Handling
The library throws CipherException for encryption/decryption errors:
Requirements
- PHP 8.1 or higher
- OpenSSL extension
License
MIT License. See LICENSE for more information.
All versions of tls-crypto-symmetric with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ext-openssl Version *
ext-openssl Version *
The package tourze/tls-crypto-symmetric contains the following files
Loading the files please wait ...