Navigation:  thinBasic Modules > Crypto >

iCrypto_DecryptRijndael

Previous pageReturn to chapter overviewNext page

 

Description

 

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

 

Syntax

 

iCrypto_DecryptRijndael(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_DecryptRC4, iCrypto_EncryptRijndael

 

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!