Download the PHP package tourze/tls-crypto without Composer
On this page you can find all versions of the php package tourze/tls-crypto. 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
TLS-Crypto
此包实现了TLS协议所需的加密算法和功能,包括:
功能特性
- 对称加密算法:AES-GCM、AES-CBC、ChaCha20-Poly1305、3DES等
- 非对称加密算法:RSA、ECDSA、EdDSA、DSA等
- 密钥交换算法:ECDHE、DHE、RSA等
- 哈希函数:SHA-256、SHA-384、SHA-512、MD5等
- 消息认证码:HMAC、AEAD、GMAC等
- 随机数生成器:CSPRNG
- 密钥导出函数:HKDF
- 曲线实现:P-256、P-384、X25519、X448等
使用要求
- PHP 8.1+
- ext-ctype
- psr/log
安装
基本用法
随机数生成
哈希函数
HMAC消息认证码
AES-GCM加密
HKDF密钥导出
许可证
本项目采用MIT许可证,详情请查看LICENSE文件。
All versions of tls-crypto with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ext-gmp Version *
ext-hash Version *
ext-openssl Version *
paragonie/sodium_compat Version ^2.0
phpseclib/phpseclib Version ^3.0
ext-gmp Version *
ext-hash Version *
ext-openssl Version *
paragonie/sodium_compat Version ^2.0
phpseclib/phpseclib Version ^3.0
The package tourze/tls-crypto contains the following files
Loading the files please wait ...