Location: Symbol Reference > Functions > JwEncryptString Function
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
JwEncryptString Function
Pascal
function JwEncryptString(const S: TJwString; const Description: TJwString = ''; const Prompt: Boolean = false; const LocalMachineOnly: Boolean = false; const Entropy: PDataBlob = nil): TJwString;
Parameters 
Description 
const S: TJwString 
defines a string that must be encrypted.  
const Description: TJwString = '' 
Defines a string that describes the data. Can be empty.  
const Prompt: Boolean = false 
defines a whether a encryption prompt is displayed to confirm the decryption by the user.  
const LocalMachineOnly: Boolean = false 
Set to true so the data can only be decrypted on the same computer; otherwise false.  
const Entropy: PDataBlob = nil 
Defines additional data to be used to encrypt the data. The same Entropy must be specified to the decryption method DecryptPointerWithPrompt. Can be nil to use no entropy.  

Returns a new string that contains the encrypted data.

JwEncryptString encrypts and protects a string.

Exceptions 
Description 
EjwsclCryptApiException 
if an underlying API function failed. 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!