SecureWrite's Encryption/Decryption Algorithm