Skip to content

priv4cy/php-aes-encrypt-decrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP AES Encrypt Decrypt

Encrypt/Decrypt a string in PHP with AES.

Deployment

To deploy this project run

  git clone https://github.com/priv4cy/php-aes-encrypt-decrypt.git

Usage/Examples

include('class.php');
$aes = new AES('Secret key', 'Secret iv');

$encrypted_string = $aes->encrypt('Hey!');
echo $encrypted_string;

$decrypted_string = $aes->decrypt($encrypted_string);
echo $decrypted_string;

License

MIT

About

Encrypt/Decrypt a string in PHP with AES.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages