Sample Visual Basic
Code to decrypt some PGP encrypted text:
Where Cryptocx1 is an instance of a
Cryptocx Control.
Cryptocx1.Password = "mypassword"
Cryptocx1.InputText = txtTextToDecrypt.Text
Cryptocx1.SecretKey = txtSecretKey.Text
txtDecryptedText.Text = Cryptocx1.PGPDecryptString
|