Navigation: thinBasic Modules > Crypto > iCrypto_DecryptRC4 |
|
Description
The iCrypto_DecryptRC4() function decrypts previously encripted with RC4 algorithm.
Syntax
iCrypto_DecryptRC4(sCryptedText AS STRING, sPassword AS STRING) AS STRING
Returns
Returns AS STRING
The decrypted (plain text) string.
Parameters
Name |
Type |
Optional |
Meaning |
sCryptedText AS STRING
The data string
sPassword AS STRING
The password
Remarks
Restrictions
See also
iCrypto_DecryptRijndael, iCrypto_EncryptRC4
Examples
dim sText as string
dim sPassword as string
sText = "This is my secret encrypted with RC4!"
sPassword = "This is my password"
MSGBOX 0, iCrypto_DecryptRC4(iCrypto_EncryptRC4(sText, sPassword), sPassword)
'results: This is my secret encrypted with RC4!
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |