コード例 #1
0
 public void Save(System.IO.Stream stream)
 {
     using (var writer = new BinaryWriter(stream)) {
         AesEncryption.SetKey(AES_KEY);
         AesEncryption.SetIV(AES_IV);
         writer.Write(AesEncryption.AesEncrypt(IntoBytes(DecryptedContents)));
     }
 }