- Multiple Algorithum Support
- Installable thorugh composer
- Multilanguage Exceptions
- Easy Setup and use
We have been working on many encryption methods and implementing them into the project. The basic idea of this library is to make your project secure enough for your customers. You can store important information like credentials etc.
Install using composer
composer require optiwariindia/cryptography
$crypt=new optiwariindia\cryptography();
print_r($crypt->listAlgo());
$crypt->algo("AES-128-CBC");
$iv=$crypt->iv();
$crypt->key("SuperSecretKey");
list($cypher,$tag)=$crypt->encrypt("message");
$crypt->algo("AES-128-CBC");
$iv=$crypt->iv();
$crypt->key("SuperSecretKey");
$text=$crypt->decrypt($cypher,$tag);