Download the PHP
package imphp/crypt without Composer
On this page you can find all versions of the php package
imphp/crypt. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor imphp Package crypt Short Description Encryption and Hash library License
MIT
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
This library provides hash and encryption tools that makes a lot easier to work with both of those things. Rather than having cipher and algorithm, cipher keys, hash secrets and so on, spread around in your entire project, this crypt package enables you to deal with all of this in one place and then make use it from anywhere.
Cipher & Hash algorithm
This is setup during initialization of the class instances. From here you can simply forward these instances to anywhere in your project, and it will all make use of the same ciphers and algorithms when creating hash values, encrypting data and so fourth.
Secret, Cipher Key & Salt/IV
Maybe you would want to create keyed hash values of passwords before database storage? Or you might want to sign and/or encrypt cookie data? Maybe do something to session data? But you don't want to deal with setting up secrets and salt values or iv's and cipher keys directly in a custom cookie, session library or a login page. The crypt package allows you to specify shared secrets/salts and keys/iv's within each of the respected instances. These can be used across your project, allowing your cookie/session library and your login/create profile page to only deal with the actual encryption/decryption and hash work.
Requiresimphp/base Version
~1.1 ext-mbstring Version
*
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package imphp/crypt contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.