Icon DecryptStr

Unit: WebCore

Available In: Server Applications

function DecryptStr(const Value: String; const Password: String;
                    EncryptionType: TEncryptionType=etAES128): String;

The DecryptStr function decrypts an encrypted string (in hexadecimal format) using the specified encryption algorithm.

Information The TEncryptionType enumerated type is declared in the WebSrvr unit.

The return value is a String value containing the decrypted string.

Examples

X := DecryptStr('A98649088318CB72B224B222FC10BC26','Test Password',etAES256);  // X is 'Hello World'
Image