I'm using Node.js to encrypt a validation string using 'AES-256-CBC' in crypto. I'd eventually like to decrypt that string using C# System.Security.Cryptography.Aes class.
How do I find the corresponding c# decryption settings?
For testing, I'm encrypting a string in node.js, and encrypting that same string in c# and comparing my cipher texts.
As you can see below, they differ by only 1 character.
Here's the node.js cipher text:
Here's the c# cipher text:
What I have tried:
In both node.js and c#, I'm encrypting with a 32-byte key and a 16-byte IV.