Use the plain Aes.Create() instead of Aes.Create("AesManaged")

This commit is contained in:
Richard Webb 2024-01-08 00:51:47 +00:00 committed by BobLd
parent 181444afbc
commit 8cfaa099c8

View File

@ -688,7 +688,7 @@
var iv = new byte[16];
using (var aes = Aes.Create("AesManaged")!)
using (var aes = Aes.Create())
{
aes.Key = intermediateKey;
aes.IV = iv;