PHPSecLib
Halite
Our great sponsors
PHPSecLib | Halite | |
---|---|---|
12 | 7 | |
5,241 | 1,111 | |
0.5% | 0.0% | |
8.9 | 0.0 | |
6 days ago | almost 2 years ago | |
PHP | PHP | |
MIT License | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PHPSecLib
-
How to install software on VPS through PHP?
I recommend using PHPSecLib which has a powerful SSH library that is far more versatile than the official PHP SSH extension.
-
Validating SSH keys on Laravel
I did a lot of research on how to perform this validation. In many blogs, I saw many people recommending using native functions like openssl_verify, openssl_get_publickey, or openssl_pkey_get_details, but unfortunately, they didn't work for what I needed (Remember, an SSH key is different from an SSL key, so these functions won't work). In other forums, I saw people suggesting using the package https://phpseclib.com/. But think about it, why install a package when you're only going to use one class and one of its methods?
- Validando chave ssh pública no Laravel
-
23.1.3 is up
ports: phpseclib 3.0.19[1]
-
Asymmetric encryption
PHP libraries that provide support for asymmetric encryption OpenSSL: https://www.php.net/manual/en/book.openssl.php phpseclib: https://github.com/phpseclib/phpseclib Sodium: https://www.php.net/manual/en/book.sodium.php
- Passed by reference error with phpseclib Net/SSH2
-
Help converting a python line to PHP, (Crypto.Signature pkcs1_15 function)
And also, another strategy is to look through the Unit tests on the project, so you can see how it's actually used. for example: https://github.com/phpseclib/phpseclib/blob/master/tests/Unit/Crypt/RSA/ModeTest.php
- OPNsense 22.1.1 released
-
Trying to easily replace the depricated mcrypt_decrypt functionality.
You can also use phpseclib (PHP Secure Communications Library), which has all kinds of security-related functions, including functions for symmetric encryption. It uses a pure PHP implementation, so you don't need libraries like openssl or libsodium, but they will be used when installed (for speed).
- OPNsense 21.7.7 released
Halite
- sodium_crypto_secretbox
-
Does Halite do PGP?
I'm trying to find a PHP package that will handle PGP encryption/decryption. Halite keeps coming up but I can't tell from searching if it handles PGP. If it doesn't, can you recommend a PHP package that does? Thanks!
-
Sodium encryption and digital signing made simple
Sounds like https://github.com/paragonie/halite. What does this do better?
- Halite (usable cryptography library for PHP) version 5.0.0 released (Security Improvements within!)
-
Weekly "ask anything" thread
One of the Golden Rules of Computing is "Never roll your own Crypto" (without a PhD in Cryptography). If you need to encrypt something at rest I'd recommend the really very excellent Halite Library.
-
PASETO v2.0.0 released! (Lengthy release notes)
10,000%. I love Halite.
-
PHP.Net Documentation for ext/sodium Coming Soon
Excellent job! I've been using the https://github.com/paragonie/halite library on top of Sodium just so I don't have to re-work everything out, but this is going to be nice for cases when including third party libraries isn't possible!
What are some alternatives?
PHP Encryption - Simple Encryption in PHP.
Elliptic-PHP - Fast, general Elliptic Curve Cryptography library. Supports curves used in Bitcoin, Ethereum and other cryptocurrencies (secp256k1, ed25519, ..)
HTML Purifier - Standards compliant HTML filter written in PHP
PHP SSH - An experimental object oriented SSH api in PHP
PHP IDS - PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application
ZAP - The ZAP core project
AntiXSS - ㊙️ AntiXSS | Protection against Cross-site scripting (XSS) via PHP
random_compat - PHP 5.x support for random_bytes() and random_int()
CIDRAM - CIDRAM: Classless Inter-Domain Routing Access Manager.
IniScan - A php.ini scanner for best security practices