EncryptX
The EncryptX control
is utilized to encrypt a text field. This control is currently only
compatible with Visual Basic (will not work with VC++). The user
can encrypt entire ASCII based documents with one simple call.
If someone tries to decrypt the encrypted text with the wrong password,
the text remains unchanged (remains encrypted).
A
simple encoding example:
Private
Encrypt_button()
Dim
sdata As string
Dim
password as string
sdata=”Hello, have a nice day” ‘ some example text
password=”yourpassword” ‘
user selected password
Call EncryptX1. encrypt (password , sdata, True)
' encode
msgbox sdata
Call EncryptxX1. encrypt (password, sdata, false) '
decode
msgbox sdata
End
Sub
|