PHPackages                             snipershady/securecipher - 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. snipershady/securecipher

ActiveLibrary[Security](/categories/security)

snipershady/securecipher
========================

A free, reliable and easy-to-use cipher to encrypt and decrypt strings

v1.0.8(6mo ago)3253GPL-3.0-or-laterPHPPHP &gt;=8.3CI passing

Since Jul 1Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/snipershady/securecipher)[ Packagist](https://packagist.org/packages/snipershady/securecipher)[ Docs](https://www.spinfo.it)[ RSS](/packages/snipershady-securecipher/feed)WikiDiscussions main Synced today

READMEChangelog (9)Dependencies (4)Versions (10)Used By (0)

SecureCipher
============

[](#securecipher)

[![Latest Version](https://camo.githubusercontent.com/c0c8eeb15f3c00eb832fe0b844f66b0195186597ab9773ee9504dabf99cbb641/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f736e6970657273686164792f736563757265636970686572)](https://github.com/snipershady/securecipher/releases)[![PHP Version](https://camo.githubusercontent.com/bdaea4a80a0c767ca8161cb9fb90144bab601b70d2441433ae5848a877ed0837/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736e6970657273686164792f736563757265636970686572)](https://packagist.org/packages/snipershady/securecipher)[![License](https://camo.githubusercontent.com/55def31209852af62f714250e6abd5580ca3b73aa6b9b5350cda0b5b26ca0ded/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736e6970657273686164792f736563757265636970686572)](https://github.com/snipershady/securecipher/blob/main/LICENSE)[![Stars](https://camo.githubusercontent.com/357ae402661af96561f99641d8846a806b45281d9946ef3e61f1e913c003136b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f736e6970657273686164792f736563757265636970686572)](https://github.com/snipershady/securecipher/stargazers)[![Issues](https://camo.githubusercontent.com/0a4971e68db491539f8abf2090c896a9dedf06c5a5353846e92160e437aac1b0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f736e6970657273686164792f736563757265636970686572)](https://github.com/snipershady/securecipher/issues)

A free, reliable, and easy-to-use PHP library for encrypting and decrypting strings with advanced cipher methods.

📋 Table of Contents
-------------------

[](#-table-of-contents)

- [Overview](#overview)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
    - [Basic Example](#basic-example)
    - [Custom Cipher Methods](#custom-cipher-methods)
- [Available Cipher Methods](#available-cipher-methods)
- [Security Considerations](#security-considerations)
- [Requirements](#requirements)
- [Contributing](#contributing)
- [License](#license)

🎯 Overview
----------

[](#-overview)

SecureCipher is a robust PHP library designed to help you enhance your application's security by providing easy-to-use encryption and decryption capabilities. Whether you need to protect sensitive user data or secure system-level information, SecureCipher offers a straightforward API with flexible cipher method options.

✨ Features
----------

[](#-features)

- **Multiple Cipher Methods**: Support for various AES encryption algorithms
- **User-Level Encryption**: Customize encryption with user-specific keys
- **System-Wide Base Key**: Set a system base key for additional security layer
- **Simple API**: Intuitive methods for encryption and decryption
- **Type-Safe**: Utilizes PHP enumerations for cipher method selection
- **Well-Tested**: Comprehensive test coverage

📦 Installation
--------------

[](#-installation)

Install SecureCipher via Composer:

```
composer require snipershady/securecipher
```

🚀 Usage
-------

[](#-usage)

### Basic Example

[](#basic-example)

```
