php-encryption | cryptography API wrapping the Sodium library
kandi X-RAY | php-encryption Summary
kandi X-RAY | php-encryption Summary
php-encryption is a PHP library. php-encryption has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
A cryptography API wrapping the Sodium library, providing a simple object interface for symmetrical and asymmetrical encryption, decryption, digital signing and message authentication. The Encryption class is able to generate secrets and keypairs, encrypt and decrypt data, sign and verify data, and generate and verify digital signatures. Encrypted messages are returned base64 encoded, while keys and secrets are returned as hexadecimal strings. The transformation of these to and from binary data makes use of the sodium_* timing-safe functions. All underlying cryptography is performed using the Sodium library. This library requires PHP 7.2 or higher with libsodium installed (this is bundled with PHP 7.2 or above, so you probably already have it).
A cryptography API wrapping the Sodium library, providing a simple object interface for symmetrical and asymmetrical encryption, decryption, digital signing and message authentication. The Encryption class is able to generate secrets and keypairs, encrypt and decrypt data, sign and verify data, and generate and verify digital signatures. Encrypted messages are returned base64 encoded, while keys and secrets are returned as hexadecimal strings. The transformation of these to and from binary data makes use of the sodium_* timing-safe functions. All underlying cryptography is performed using the Sodium library. This library requires PHP 7.2 or higher with libsodium installed (this is bundled with PHP 7.2 or above, so you probably already have it).
Support
Quality
Security
License
Reuse
Support
php-encryption has a low active ecosystem.
It has 0 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 12 months.
php-encryption has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of php-encryption is 1.0.0
Quality
php-encryption has no bugs reported.
Security
php-encryption has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
php-encryption is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
php-encryption releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of php-encryption
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of php-encryption
php-encryption Key Features
No Key Features are available at this moment for php-encryption.
php-encryption Examples and Code Snippets
Copy
// Generate a new random keypair.
$keypair = $crypt->generateEncryptionKeypair();
// Or provide a password to generate a deterministic keypair.
$keypair = $crypt->generateEncryptionKeypair("my_super_secret_password");
// Or
Copy
// Generate a new random keypair.
// Like generateEncryptionKeypair, you can also optionally provide a password to generate a deterministic keypair.
$aliceSigningKeypair = $crypt->generateSigningKeypair();
// Alice signs a mes
Copy
$message = "This is a message signed anonymously with a secret key.";
// We can generate a secure, random 32 byte key, which is returned as a hexadecimal string.
$secret = $crypt->generateSigningSecret();
// Or, as long as the key
Community Discussions
No Community Discussions are available at this moment for php-encryption.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install php-encryption
You can download it from GitHub.
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page