Cryptography encryption/decryption library bundled with Zest Framework
Cryptography
Encryption
To encrypt the string/data you need to use a encrypt()
function just simple and straightforward take a look at an example:
<?php
//its prototype is ;
//encrypt(string,bit); //32 or 64 default 32
encrypt("Hello World");
Decryption
To decrypt the string/data you need to use a decrypt()
function just simple and straightforward take a look at an example:
<?php
//its prototype is ;
//decrypt(hash,bit); //32 or 64 default 32
decrypt("somehashgenereteby encrypt()");