public string Decrypt(byte[] encryptedBytes) { _decrypted = QboxNextRijndael.Decrypt(encryptedBytes, Key, Iv, 256); if (_decrypted == null) { return(null); } return(Encoding.UTF8.GetString(_decrypted).Trim()); }
public byte[] DecryptBytes(byte[] encryptedBytes) { return(QboxNextRijndael.Decrypt(encryptedBytes, Key, Iv, 256)); }