My .Net application need to communicate with Linux based system which is using following command line to encrypt their messages:
openssl enc -a -e -salt -des3 -pass pass:abc123
How would be equivalent code to encrypt/decrypt messages in c# look like?
I understand that I should use TripleDES in CBC mode with PKCS7 padding. What I don't know is what block size and initialization vector (IV) should I use.
Also I am confused how should I derive key from password. Should I use PBKDF1 or PBKDF2 and what salt should I use?
So what seems to be a quite standard job ends for me with all night puzzle. Can anybody help me?