Download the PHP package gmtls/openssl-crypto-kit without Composer
On this page you can find all versions of the php package gmtls/openssl-crypto-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gmtls/openssl-crypto-kit
More information about gmtls/openssl-crypto-kit
Files in gmtls/openssl-crypto-kit
Package openssl-crypto-kit
Short Description A modern and extensible PHP cryptography toolkit powered by OpenSSL.
License MIT
Homepage https://github.com/dependencies-packagist/openssl-crypto-kit
Informations about the package openssl-crypto-kit
OpenSSL Crypto Kit
A modern and extensible PHP cryptography toolkit powered by OpenSSL.
Supports RSA for encryption, decryption, and digital signatures, and EC for high-performance digital signing and key exchange.
Also includes X.509 certificate generation, passphrase protection, and pluggable algorithm support.
A modern PHP cryptography toolkit powered by OpenSSL.
Features include:
- [x] RSA: key generation, signing, verification, encryption, decryption
- [x] EC: key generation, signing, verification
- [ ] X.509 certificate creation
- [x] Passphrase protection and pluggable algorithm support
Installation
You can install the package via Composer:
Usage
Generation
Or, load from an existing key
Exporter
Save the key to a file
Parser
Required phpseclib/phpseclib
to use KeypairParser:
Signing && Verification
Encryption && Decryption
Advanced
Extension Algorithm
Create a new DSA
class that extends \GmTLS\CryptoKit\Concerns\AsymmetricKey
and implement the methods you need to override.
-
Generate DSA Key Pair Using OpenSSL:
- Extension Class – DSA Key Wrapper
The DSA class provides a wrapper for handling DSA asymmetric keys in the GmTLS\CryptoKit framework, and it extends the base class AsymmetricKey.
-
Extending CryptoKit:
- Calling using CryptoKit:
JWK
Generate JWK using RSA
:
Output:
Get the public or private key based on the JWK using KeypairParser:
License
Nacosvel Contracts is made available under the MIT License (MIT). Please see License File for more information.
All versions of openssl-crypto-kit with dependencies
ext-openssl Version *