PHPackages                             lorddashme/php-cryptor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. lorddashme/php-cryptor

ActiveLibrary[Security](/categories/security)

lorddashme/php-cryptor
======================

A PHP package wrapper for cryptography functions.

2.0.4(7y ago)25.2kMITPHPPHP &gt;=5.6 || &gt;=7.0 || &gt;=7.1 || &gt;=7.2

Since Oct 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/LordDashMe/php-cryptor)[ Packagist](https://packagist.org/packages/lorddashme/php-cryptor)[ Docs](https://github.com/lorddashme/php-mailchimp)[ RSS](/packages/lorddashme-php-cryptor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

PHP Cryptor
===========

[](#php-cryptor)

A package wrapper for PHP cryptography functions.

[![Latest Stable Version](https://camo.githubusercontent.com/b13be6ad0248e81faee2ea85f0da96b5b1fe42dff2dad377d34c212cb695c4de/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f7264646173686d652f7068702d63727970746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lorddashme/php-cryptor) [![Minimum PHP Version](https://camo.githubusercontent.com/86e7d829a466cacd5658a22073e27d49d39dac72cc18216ac4963ed5463c5bbc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e362d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/) [![Coverage Status](https://camo.githubusercontent.com/917eadc72a238f7985817bffebbbafd5da6f872fa782509634337cc8e2d0d83f/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f4c6f7264446173684d652f7068702d63727970746f722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/LordDashMe/php-cryptor?branch=master)

Requirement(s)
--------------

[](#requirements)

- PHP version from 5.6.\* up to latest.

Install
-------

[](#install)

- It is advice to install the package via Composer. Use the command below to install the package:

```
composer require lorddashme/php-cryptor
```

Usage
-----

[](#usage)

### List of Wrapped Class Extensions

[](#list-of-wrapped-class-extensions)

ClassDescription![]()![]()[OpenSSL](#openssl-class)Use this extension to encrypt or decrypt a content.[PasswordHashing](#password-hashing-class)Use this extension to hash a password content.#### OpenSSL Class

[](#openssl-class)

- To encrypt plain text.

```
