the class encrypt/decrypt for discrypto