Sample Visual Basic
Code to encrypt some text using the PGP compatible facility within
Cryptocx.
Where Cryptocx1 is an instance of a
Cryptocx Control.
Cryptocx1.WorkingFolder =
"C:\"
Cryptocx1.InputText =
rtfText2Encrypt.Text
Cryptocx1.PublicKey = txtPubKey.Text
rtfEncryptedText.Text = Cryptocx1.PGPEncryptString |