You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you figure out anything that i am missing in my code.
Here is my code:
`
// to generate keys
using (ChoPGPEncryptDecrypt pgp = new ChoPGPEncryptDecrypt())
pgp.GenerateKey(@"c:\umesh\chopgp\keyPublic.asc", @"c:\umesh\chopgp\keyPrivate.asc", "[email protected]", "password");
// to encrpyt
using (ChoPGPEncryptDecrypt pgp = new ChoPGPEncryptDecrypt())
{
pgp.EncryptFile(@"c:\umesh\chopgp\MyTest.txt", @"c:\umesh\chopgp\MyTestEncrypted.txt", @"c:\umesh\chopgp\keyPublic.asc");
}
// to decrypt
using (ChoPGPEncryptDecrypt pgp = new ChoPGPEncryptDecrypt())
{
pgp.DecryptFile(@"c:\umesh\chopgp\MyTestEncrypted.txt", @"c:\umesh\chopgp\MyTestDecrypted.txt", @"c:\umesh\chopgp\keyPrivate.asc", "password");
}
`
The text was updated successfully, but these errors were encountered:
Can you figure out anything that i am missing in my code.
Here is my code:
`
// to generate keys
using (ChoPGPEncryptDecrypt pgp = new ChoPGPEncryptDecrypt())
pgp.GenerateKey(@"c:\umesh\chopgp\keyPublic.asc", @"c:\umesh\chopgp\keyPrivate.asc", "[email protected]", "password");
`
The text was updated successfully, but these errors were encountered: