'TextFile encryption in .Net framework and being able to decrypt under linux

I'm trying to find a solution to encrypt / decrypt text files from a .Net framework application with the constraint of being able to decrypt the file under linux ideally by a command line.

I just want to use a passphrase for the encryption (no public/private key).

I've tried to use ChoPGP (https://github.com/Cinchoo/ChoPGP) but it use public/private keys what I don't want.

Have an idea ?



Solution 1:[1]

I've finally found a solution to my problem. I use the nuget BouncyCastle to encrypt/decrypt files with OpenPGP using a passphrase for the encryption. It works fine.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 breizh punisher