|
JWSCL Documentation
|
class procedure EncryptPointer(const P: Pointer; const Size: Cardinal; const Description: TJwString; const Entropy: PDataBlob; const LocalMachineOnly: Boolean; out Data: TJwGetMemBlob);
|
Parameters |
Description |
|
const P: Pointer |
Defines a pointer which must be encrypted. |
|
const Size: Cardinal |
Defines how much data of P must be encrypted. Do specify exactly the amount of allocated memory of P. Otherwise the memory which is beyond the given Size can become overwritten by the encrypted data. |
|
const Entropy: PDataBlob |
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. |
|
const LocalMachineOnly: Boolean |
Set to true so the data can only be decrypted on the same computer; otherwise false. |
|
out Data: TJwGetMemBlob |
[out]. This parameter receives the encrypted data. The data can be freed using FreeMem on its Data member . |
EncryptPointer is like EncryptPointerWithPrompt but does not use a user interface.
|
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!
|