Пример #1
0
 public string Decrypt(byte[] encryptedBytes)
 {
     _decrypted = QboxNextRijndael.Decrypt(encryptedBytes, Key, Iv, 256);
     if (_decrypted == null)
     {
         return(null);
     }
     return(Encoding.UTF8.GetString(_decrypted).Trim());
 }
Пример #2
0
 public byte[] DecryptBytes(byte[] encryptedBytes)
 {
     return(QboxNextRijndael.Decrypt(encryptedBytes, Key, Iv, 256));
 }