This sample has two purposes:
- It creates a private and public key pairs in two text files when run with
dotnet run create. - It shows a quick example of RSA signature and verification when run with
dotnet run sign "Some text to sign" - It shows a simple example of encrypt and decrypt when run with
dotnet run encryptpub "some plain text"anddotnet run decryptpri "base64"