Download the PHP package martinusso/opencrypt without Composer
On this page you can find all versions of the php package martinusso/opencrypt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download martinusso/opencrypt
More information about martinusso/opencrypt
Files in martinusso/opencrypt
Download martinusso/opencrypt
More information about martinusso/opencrypt
Files in martinusso/opencrypt
Vendor martinusso
Package opencrypt
Short Description Encrypts and decrypts data using PHP with OpenSSL
License MIT
Homepage https://github.com/martinusso/opencrypt
Package opencrypt
Short Description Encrypts and decrypts data using PHP with OpenSSL
License MIT
Homepage https://github.com/martinusso/opencrypt
Please rate this library. Is it a good library?
Informations about the package opencrypt
opencrypt
Two-way encryption (encrypt and decrypt) data using PHP with OpenSSL
Installation
composer require martinusso/opencrypt
Tips
- $secretKey should have been previously generated in a cryptographically safe way, like openssl_random_pseudo_bytes. OpenCrypt has a static method
OpenCrypt::generateKey()
for this.
Usage
generate IV
OpenCrypt offers a static method to generate a safe IV:
generate key
it is also possible to generate a safe secret key:
License
This software is open source, licensed under the The MIT License (MIT). See LICENSE for details.
All versions of opencrypt with dependencies
PHP Build Version
Package Version
Requires
php Version
^5.6 || ^7.0
ext-openssl Version *
ext-openssl Version *
The package martinusso/opencrypt contains the following files
Loading the files please wait ....