iCrypto_DecryptRijndael

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Crypto >

iCrypto_DecryptRijndael

 

Description

 

The iCrypto_DecryptRijndael() function decrypts previously encripted with Rijndael's algorithm.

 

Syntax

 

decryptedText = iCrypto_DecryptRijndael(sCryptedText, sPassword)

Returns

 

String, decrypted (plain text) string.

 

Parameters

 

Name

Type

Optional

Meaning

sCryptedText

String

No

Original encrypted text

sPassword

String

No

Password for decryption

 

Remarks

 

Restrictions

 

See also

 

iCrypto_DecryptRC4, iCrypto_EncryptRijndael

 

Examples

 

Uses "Crypto"

 

String sText     = "This is my encrypted secret!"

String sPassword = "This is my password"

 

msgbox 0, iCrypto_DecryptRijndael(iCrypto_EncryptRijndael(sText, sPassword), sPassword)

'results: "This is my encrypted secret!"