Beispiel #1
0
 public Aes256Cipher()
 {
     _key = new AesCipherKey(new RijndaelManaged
     {
         KeySize   = 256,
         BlockSize = 128,
         Mode      = CipherMode.CBC
     });
 }
Beispiel #2
0
 public void Dispose()
 {
     _key?.Dispose();
     _key = null;
 }