wwEncryption::DecryptString

Decrypts a string with a pass phrase using TripleDES encryption. The Decrypt function should use the same encryption key that was used to encrypt the string.

o.DecryptString(lcEncryptedText, lcEncryptionKey)

Return Value

Decrypted text.

Parameters

lcEncryptedText
The text that was previously encrypted with EncryptString().

lcEncryptionKey
The same key that was used with EncryptString().

Example

lcOriginal = "Test String"
lcSecret = "seekrit10!"
? lcOriginal

lcEncrypted =  o.EncryptString(lcOriginal,lcSecret)
? lcEncrypted

lcDecrypted =  o.DecryptString(lcEncrypted,lcSecret)
? lcDecrypted

See also:

Class wwEncryption | wwEncryption::EncryptString

© West Wind Technologies, 1996-2019 • Updated: 11/04/16
Comment or report problem with topic