/** * @brief Decrypts the data string. * * @param encrypted Encrypted data string. * @return Decrypted string. */ public string Decrypt(string encrypted) { Log.Debug("[Cipher] Decrypt"); return(CipherImpl.Decrypt(encrypted, cipherType)); }
/** * @brief Encrypts the data string. * * @param cleartext Raw data string. * @return Encrypted string. */ public string Encrypt(string cleartext) { Log.Debug("[Cipher] Encrypt"); return(CipherImpl.Encrypt(cleartext, cipherType)); }