I need to pass two params to a URL (black box). I am being told that as long as I concatenate the string of params (similar to "param1=A#param2=B"), I can then encrypt the string using PGP and pass that encrypted string as a single param to where it needs to go. I have been provided the target's public key.
According to documentation I have found, PGP needs to have a file to read from. Is there a way I can make this happen without writing to a file? I absolutely must use PGP and their public key to perform this encrypted query string method. I am using .NET on WinTel platform, VB or C# independent.