I want to create a custom C# method (no 3rd party libs) in my application that takes in a Stream (unencrypted) and a PGP key id (int) and I want it to return an encrypted stream back out to the user. The method signature looks something like this:
public Stream EncryptedData (Stream unEncryptedData, int PGP_Key_ID{...}
Anybody know how to do this or point me in the right direction?