Download the PHP package tigr/compact-encrypter without Composer
On this page you can find all versions of the php package tigr/compact-encrypter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tigr/compact-encrypter
More information about tigr/compact-encrypter
Files in tigr/compact-encrypter
Download tigr/compact-encrypter
More information about tigr/compact-encrypter
Files in tigr/compact-encrypter
Vendor tigr
Package compact-encrypter
Short Description Data encrypter producing compact and URL-safe output
License MIT
Package compact-encrypter
Short Description Data encrypter producing compact and URL-safe output
License MIT
Please rate this library. Is it a good library?
Informations about the package compact-encrypter
URL-safe Compact Encrypter
Simple compact encrypter
Installation
Why?
It provides very concise encrypted URL-safe data. For instance, it could be used to create self-contained tokens that would contain all the necessary information inside.
How does it work?
- No intermediate base64 or hex encoding, all data is raw binary.
- No JSON, use pack()/unpack().
- Use URL-safe version of base64 (drop trailing '=', replace '/+' with '-_').
- For hashing, use SHA1 instead of SHA256. I know, I know, but for real-world purposes SHA1 is still good enough.
- Allow dropping Mac (validation hash) whatsoever if you want it really short.
All versions of compact-encrypter with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
ext-openssl Version *
ext-json Version *
ext-openssl Version *
ext-json Version *
The package tigr/compact-encrypter contains the following files
Loading the files please wait ....