Encrypt/Decrypt a jpg image