0

I have a file encrypted with openssl via:

openssl rand 32 -out key
openssl enc -aes-256-cbc -in input.json -out input.json.enc -pass file:key

How can I decrypt it in C#? Tried AesManaged with no luck.

Nisarg Shah
  • 14,151
  • 6
  • 34
  • 55
Alexey
  • 1
  • Please [edit] your question and include the code you have tried with. It is important that you provide a [mcve] so that others can identify the issue. – Nisarg Shah Aug 31 '18 at 08:57
  • https://stackoverflow.com/questions/5452422/openssl-encryption-using-net-classes – enno.void Aug 31 '18 at 09:02

0 Answers0