<< Click to Display Table of Contents >> Protect |
Encrypts the data in a specified byte array and returns a byte array that contains the encrypted data.
userData - A byte array that contains data to encrypt.
optionalEntropy - An optional additional byte array used to increase the complexity of the encryption, or null for no additional complexity.
scope - One of the enumeration values that specifies the scope of encryption.
Returns: A byte array representing the encrypted data.
Protect PROCEDURE(STRING userData, <STRING optionalEntropy>, DataProtectionScopeEnum scope = DataProtectionScope::CurrentUser), *STRING