Download the PHP package mukto90/ncrypt without Composer
On this page you can find all versions of the php package mukto90/ncrypt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mukto90/ncrypt
More information about mukto90/ncrypt
Files in mukto90/ncrypt
Download mukto90/ncrypt
More information about mukto90/ncrypt
Files in mukto90/ncrypt
Vendor mukto90
Package ncrypt
Short Description A simple PHP class to encrypt a string and decrypt an encrypted string
License GPL-3.0-or-later
Homepage https://github.com/mukto90/ncrypt
Package ncrypt
Short Description A simple PHP class to encrypt a string and decrypt an encrypted string
License GPL-3.0-or-later
Homepage https://github.com/mukto90/ncrypt
Please rate this library. Is it a good library?
Informations about the package ncrypt
Ncrypt : A 2-way encryption system
A simple PHP class to encrypt a string, and decrypt an encrypted string
Steps
Include the class
Option 1 (using Composer)
-
Add the following to your
composer.json
file- - Run
composer install
command. - Include your autoloader file (if not already), like this-
Option 2
- Copy
class.ncrypt.php
file fromncrypt/src/
directory to your project. - Include the class in your project file, like this-
Instantiate the class
Configure (optional)
- Optionally set secret key, secret IV and cipher
How to encrypt a plain text/string
- Pass your string to
encrypt()
method-
How to decrypt an encrypted string
- Pass the already encrypted string to
decrypt()
method-
Requirement (minimum)
- PHP 5.3.0
php_openssl
library needs to be enabled. See here
Author
Discussion
All versions of ncrypt with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package mukto90/ncrypt contains the following files
Loading the files please wait ....