BenSelect Documentation
EncryptData Method
See Also  Send Feedback
Selerix.Foundation.Interfaces Namespace > ISecurityService Interface : EncryptData Method
data
Data string.
addHash
Add hash of original data into result.
dataEncryptionKey
Data encryption key to use for encryption.
dataEncryptionKeyPlaceholder
String to use as encryption key id.
Encrypts data with current data encryption key.

Syntax

JScript 
function EncryptData( 
   data : String,
   addHash : boolean,
   dataEncryptionKey : byte[],
   dataEncryptionKeyPlaceholder : String
) : String;

Parameters

data
Data string.
addHash
Add hash of original data into result.
dataEncryptionKey
Data encryption key to use for encryption.
dataEncryptionKeyPlaceholder
String to use as encryption key id.

Return Value

Encrypted string.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2024 All Rights Reserved.