c# cryptograpy with rijndaelSymmetry key

Chieko Jurkus 1 Reputation point
2020-06-23T00:38:33.18+00:00

Hi,
I'm using the RijndaelSymmetry key for encrypting and decrypting strings in two web service methods.
During my tests I found that the word 'finally' has the encrypted value of "RXh+WV+v0ZBp1foSCeJ1Nw=="
and 'Finally' has the encrypted value of "ZInthcow0Hhm9z0cu6gT4Q=="

When I try to Decrypt "ZInthcow0Hhm9z0cu6gT4Q==", it succeeds.
However, when I try to Decrypt "RXh+WV+v0ZBp1foSCeJ1Nw==", I receive a wrong format error message.
Would you be able to help me resolve this error?
Thank you.
Chieko Jurkus

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,834 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 426.3K Reputation points MVP
    2020-06-23T00:52:29.277+00:00

    C# is not currently supported here on QnA. They're actively answering question in dedicated forums here.
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=csharpgeneral

    or possibly over here
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=windowssecurity

    --please don't forget to Accept as answer if the reply is helpful--


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    0 comments No comments