iCrypto_EncryptRijndael
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > Crypto > iCrypto_EncryptRijndael |
Description
Encrypts text with Rijndael's algorithm.
Syntax
encryptedText = iCrypto_EncryptRijndael(plainText, sPassword)
Returns
String, encrypted text.
Parameters
Name |
Type |
Optional |
Meaning |
plainText |
String |
No |
Original text |
sPassword |
String |
No |
Password for decryption |
Remarks
Restrictions
See also
iCrypto_DecryptRijndael, iCrypto_EncryptRC4
Examples
Uses "Crypto"
String sText = "This is my secret"
String sPassword = "This is my password"
msgbox 0, iCrypto_DecryptRijndael(iCrypto_EncryptRijndael(sText, sPassword), sPassword)
'results: This is my secret