Skip to content

Instantly share code, notes, and snippets.

Created October 3, 2013 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/aba7bafe396562efd954 to your computer and use it in GitHub Desktop.
Save anonymous/aba7bafe396562efd954 to your computer and use it in GitHub Desktop.
$ time php encrypt.php imageCrypt/original.jpg "heisenberg"
Image encrypted successfully to "original.jpg.encrypted.png".
real 0m7.487s
user 0m7.416s
sys 0m0.040s
$ time php decrypt.php imageCrypt/original.jpg.encrypted.png "heisenberg"
Image decrypted successfully to "original.decrypted.jpg".
real 0m0.403s
user 0m0.376s
sys 0m0.016s
$ time php encrypt.php imageCrypt/gmcjXqt.jpg "heisenberg"
Image encrypted successfully to "gmcjXqt.jpg.encrypted.png".
real 0m1.257s
user 0m1.228s
sys 0m0.020s
$ time php decrypt.php imageCrypt/gmcjXqt.jpg.encrypted.png "heisenberg"
Image decrypted successfully to "gmcjXqt.decrypted.jpg".
real 0m0.220s
user 0m0.204s
sys 0m0.004s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment