Download the PHP package hawk-hhg/hawki-crypto without Composer
On this page you can find all versions of the php package hawk-hhg/hawki-crypto. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hawk-hhg/hawki-crypto
More information about hawk-hhg/hawki-crypto
Files in hawk-hhg/hawki-crypto
Download hawk-hhg/hawki-crypto
More information about hawk-hhg/hawki-crypto
Files in hawk-hhg/hawki-crypto
Vendor hawk-hhg
Package hawki-crypto
Short Description The shared cryptographic module of HAWKI, providing secure encryption and decryption functionalities.
License MIT
Package hawki-crypto
Short Description The shared cryptographic module of HAWKI, providing secure encryption and decryption functionalities.
License MIT
Please rate this library. Is it a good library?
Informations about the package hawki-crypto
HAWKI Crypto PHP
A PHP library for cryptographic operations including symmetric, asymmetric, and hybrid encryption/decryption.
Installation
Features
- Symmetric Cryptography: Encrypt and decrypt data using a shared secret key
- Asymmetric Cryptography: Public/private key encryption for secure communication
- Hybrid Cryptography: Combines symmetric and asymmetric approaches for efficient secure communication
Usage
Symmetric Encryption
Asymmetric Encryption
Hybrid Encryption
Value Objects
The library provides several value objects for handling cryptographic operations:
AsymmetricKeypair
: Represents a public/private key pairAsymmetricPublicKey
: Represents a public keySymmetricCryptoValue
: Encapsulates symmetrically encrypted dataHybridCryptoValue
: Encapsulates hybrid encrypted data
All value objects can be serialized as JSON strings for easy storage and transmission like so:
Alternatively every value object can be cast into a string and recreated from it:
Exception Handling
The library throws exceptions that implement HawkiCryptoExceptionInterface
when errors occur.
All versions of hawki-crypto with dependencies
PHP Build Version
Package Version
The package hawk-hhg/hawki-crypto contains the following files
Loading the files please wait ....