PHPackages                             keinos/cypher-string - 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. keinos/cypher-string

ActiveLibrary[Security](/categories/security)

keinos/cypher-string
====================

Simple class to encrypt/decrypt a string.(RSA, SHA-512, 4096bit

00[1 issues](https://github.com/KEINOS/CypherString/issues)PHP

Since Jun 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/KEINOS/CypherString)[ Packagist](https://packagist.org/packages/keinos/cypher-string)[ RSS](/packages/keinos-cypher-string/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

[![](https://camo.githubusercontent.com/493e4f333145d309527b73516563133776a9cad7f4a148bfaaff2631f053e247/68747470733a2f2f7472617669732d63692e6f72672f4b45494e4f532f437970686572537472696e672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/KEINOS/CypherString "View build status in Travis CI")[![](https://camo.githubusercontent.com/8fb3d77709de67b0bd93d6c489aaba9e216dc560f0a35c66d54ff05a7defda29/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4b45494e4f532f437970686572537472696e672f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/KEINOS/CypherString?branch=master "Coverage Status in COVERALLS")[![](https://camo.githubusercontent.com/d174c91e93c62215ea84c73a8edad1b5bfe534848715da17d8d4160884d16cee/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f4b45494e4f532f437970686572537472696e672f6d6173746572)](https://scrutinizer-ci.com/g/KEINOS/CypherString/build-status/master "Code quality in Scrutinizer")[![](https://camo.githubusercontent.com/23357bff0f77e42680829baf7a27fff118cca01e852615f66d157e4d41de7748/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b65696e6f732f6379706865722d737472696e67)](https://github.com/KEINOS/CypherString/blob/master/.travis.yml "PHP Version Support")

Cypher String
=============

[](#cypher-string)

Simple PHP class to encrypt/decrypt a string with RSA (SHA-512, 4096 bit).

Install
-------

[](#install)

Copy the [source code](https://github.com/KEINOS/CypherString/blob/master/src/CypherString.php) or use "[Composer](https://getcomposer.org/)" to keep the source up-to-date.

```
composer require keinos/cypher-string
```

Usage
-----

[](#usage)

```
