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