Recommend this page to a friend! |
Classes of Scott Arciszewski | PHP Constant Time String Encoding | README.md | Download |
|
DownloadConstant-Time EncodingBased on the constant-time base64 implementation made by Steve "Sc00bz" Thomas, this library aims to offer character encoding functions that do not leak information about what you are encoding/decoding via processor cache misses. Further reading on cache-timing attacks. Our fork offers the following enchancements:
PHP Version RequirementsVersion 2 of this library should work on PHP 7 or newer. For PHP 5 support, see the v1.x branch. If you are adding this as a dependency to a project intended to work on both PHP 5 and PHP 7, please set the required version to How to Install
How to Use
Example output:
If you only need a particular variant, you can just reference the required class like so:
Example output:
Support ContractsIf your company uses this library in their products or services, you may be interested in purchasing a support contract from Paragon Initiative Enterprises. |