Encrypts and decrypts documents and images