random_compat
PHP 5.x support for random_bytes() and random_int() (by paragonie)
Halite
High-level cryptography interface powered by libsodium (by paragonie)
random_compat | Halite | |
---|---|---|
- | 7 | |
8,152 | 1,111 | |
0.1% | 0.0% | |
0.0 | 0.0 | |
11 months ago | almost 2 years ago | |
PHP | PHP | |
MIT License | Mozilla Public License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
random_compat
Posts with mentions or reviews of random_compat.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning random_compat yet.
Tracking mentions began in Dec 2020.
Halite
Posts with mentions or reviews of Halite.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-09.
- 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?
When comparing random_compat and Halite you can also consider the following projects:
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
PHP Encryption - Simple Encryption in PHP.
PHPSecLib - PHP Secure Communications Library
IniScan - A php.ini scanner for best security practices
HTML Purifier - Standards compliant HTML filter written in PHP
RandomLib - A library for generating random numbers and strings
PHP SSH - An experimental object oriented SSH api in PHP