NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #5603 most downloaded on Packagist
A petite library of encryption functionality for PHP
Latest stable
13.2.0
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.5 years
Most releases are documented
notes for 38 of 44 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
44 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
- Adds the Str::token() function
Str::token() functionOffload some functionality into OpensslKey object for readability
docs/ optionYour coding agent can read these notes before it upgrades. Set up the MCP server →
Add test class for Aes static helper object
Aes static helper objectOnly require 32 byte keys from now on
Skip validating key when decrypting
More clarity and unity in internal API
Much more efficient testing config
Increase minimum key size to 2048 bytes
Otp to OneTimePadMove to default of SHA3-256 instead of SHA-256 for block ciphers
$cost related parameters removedstrict_types=1Add error handling when using cost with key
More robust OO key management system for block ciphers and otp
hash_hkdf() to derive keys- Added ROT128 function class - Added examples/ folder - Added type strictness to tests - Revamped some docs
examples/ folderUses strict_types=1 on all sources files (thank you PHP7)
strict_types=1 on all sources files (thank you PHP7)Adds support for GCM encryption modes in PHP 7.1+
Removes some remains of mcrypt code
- Documentation updates - Change to keying system - Rename Aes wrapper class
Rebuilt openssl encryption internal functions to be more easily extendable
- Minor scoping fixes
Allow override of AES constants
Isolated handling of openssl functions
Released 8.0.1 before merging PR
Aes has been renamed to AesCbc.
Aes has been renamed to AesCbc.Nothing published for this version
Makes project simpler and more maintainable.
Makes project simpler and more maintainable.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Removed undocumented Huffman functions/tests
Nothing published for this version
Nothing published for this version
Use override safe substr call instead. Update docblock for function
Use override safe substr call instead. Update docblock for function
Improvements to the encryption code in Otp are b/c breaking. Because Hash relies on this, it also has b/c breaking changes. It's for the best!
Improvements to the encryption code in Otp are b/c breaking. Because Hash relies on this, it also has b/c breaking changes. It's for the best!
Added array shuffling feature and unit tests for it.
Added array shuffling feature and unit tests for it.
Throw exception if some kind of error happens inside of the php encryption functions.
Throw exception if some kind of error happens inside of the php encryption functions.
BC breaking changes to the AesCtr class. Function should now be faster and use less memory.
BC breaking changes to the AesCtr class. Function should now be faster and use less memory.
This tag addresses some minor flaws and fixes a test.
This tag addresses some minor flaws and fixes a test.
This version supports better key generation in the block cipher functions. However, this is a backwards breaking change. Anything encrypted with an ol…
This version supports better key generation in the block cipher functions. However, this is a backwards breaking change. Anything encrypted with an older version will not be decryptable in 2.x.
A few minor changes to improve logical flow.
A few minor changes to improve logical flow.
Latest and greatest release of Dcrypt with a cleaner API and support for AES-CTR mode.
Latest and greatest release of Dcrypt with a cleaner API and support for AES-CTR mode.
\Dcrypt\AesExp has been removed in favor of \Dcrypt\Aes. All block ciphers always throw an exception now.\Dcrypt\Random::get() has been renamed to \Dcrypt\Random::bytes().Adds the AesExp class which throws an exception instead of returning false upon detecting malformed cyphertexts.
Removed openssl_random_pseudo_bytes. Added suggestion for paragonie/random_compat. Improved documentation.
Removed openssl_random_pseudo_bytes. Added suggestion for paragonie/random_compat. Improved documentation.
Minor improvements to documentation and global function call resolution.
Minor improvements to documentation and global function call resolution.
This fix changes the order in which classes are loaded within load.php to make sure inheritance chains are accounted for.
This fix changes the order in which classes are loaded within load.php to make sure inheritance chains are accounted for.
I am finally happy enough with this code base to make a first formal release. Dcrypt started life in 2012 as a way for me to learn about security. How
Howdy all,
I am finally happy enough with this code base to make a first formal release. Dcrypt started life in 2012 as a way for me to learn about security. However, now it is the most elegant and sophisticated symmetric encryption library (IMO) for PHP.
This code has not been formally audited. Use at your own risk!
One column per quarter.