Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specified padding mode is not valid for this algorithm #10

Open
Itsathere opened this issue Jul 3, 2017 · 2 comments
Open

specified padding mode is not valid for this algorithm #10

Itsathere opened this issue Jul 3, 2017 · 2 comments
Labels

Comments

@Itsathere
Copy link

I have a project in vb.net framework version 4.5. I am upgrading my project to ASP.Net Core 1.1 and trying to decry-pt the same encrypted code of framework 4.5 in ASP.Net Core and getting exception

"specified padding mode is not valid for this algorithm"
I have used the Rijndael algorithm for encryption/decryption of data in Asp.Net Framework 4.5 and still using Rijndael in ASP.Net Core for encryption/decryption but getting issue.

Can anyone help me to find-out the reason behind this issue.

Thanks

@JasonPierce
Copy link
Contributor

@Itsathere are you using this lib, Rijndael256, when experiencing this error during encryption, or a different implementation of the Rijndael algorithm (e.g., System.Security.Cryptography)?

@Itsathere
Copy link
Author

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants