O
Oscar Thornell
Hi,
I am trying to use the Entlib Cryptography block in an application.
I have two classes (Encrypt/Decrypt) that incorporates code from the
Quickstart exampele provided with entlib.
When trying to decrypt an encrypted string I get the following error:
'System.Security.Cryptography.CryptographicException' occurred in
mscorlib.dll
Additional information: PKCS7 padding is invalid and cannot be removed.
Does anybody know why this exception is thrown? Some sources on the Internet
indicates that it is due to the number of bytes in the chipertext. But
shouldn´t Entlib Configuration Console take care of everything for me??
Regards
/Oscar
I am trying to use the Entlib Cryptography block in an application.
I have two classes (Encrypt/Decrypt) that incorporates code from the
Quickstart exampele provided with entlib.
When trying to decrypt an encrypted string I get the following error:
'System.Security.Cryptography.CryptographicException' occurred in
mscorlib.dll
Additional information: PKCS7 padding is invalid and cannot be removed.
Does anybody know why this exception is thrown? Some sources on the Internet
indicates that it is due to the number of bytes in the chipertext. But
shouldn´t Entlib Configuration Console take care of everything for me??
Regards
/Oscar