Closed RichardD2 closed 6 years ago
Same issue as #31:
PdfEncoders.FormatStringLiteral
PdfStandardSecurityHandler.EncryptBytes(byte[])
, PrepareKey()
, PrepareRC4Key(byte[], int, int)
, passing in the uninitialized _key
field.Not replicable with RC1.
Steps to reproduce:
Install-Package PDFsharp-gdi -Version 1.50.4619-beta4c
;Save
;Expected result:
The document should be saved and protected with a password.
Actual result:
Code:
Notes:
System details: