Skip to main content

Notifications

Business Central forum
Unanswered

A call to System.Security.Cryptography.RSACryptoServiceProvider.Encrypt failed: incorrect length

Posted on by
Hi experts please need your help.

I receive this error when I try to perform encryption using my public key: A call to System.Security.Cryptography.RSACryptoServiceProvider.Encrypt failed with this message: Invalid length.

My code is written with AL code runtime 12, business central 2023 wave 2

How to solve the problem ??

THANKS
Categories:

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,186 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,996 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans