mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
Use the plain Aes.Create() instead of Aes.Create("AesManaged")
This commit is contained in:
@@ -688,7 +688,7 @@
|
|||||||
|
|
||||||
var iv = new byte[16];
|
var iv = new byte[16];
|
||||||
|
|
||||||
using (var aes = Aes.Create("AesManaged")!)
|
using (var aes = Aes.Create())
|
||||||
{
|
{
|
||||||
aes.Key = intermediateKey;
|
aes.Key = intermediateKey;
|
||||||
aes.IV = iv;
|
aes.IV = iv;
|
||||||
|
|||||||
Reference in New Issue
Block a user