JVCL Help:TJvCustomAppStorage.EnablePropertyValueCrypt

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Enables the encryption/decryption of string values.


Pascal

 procedureEnablePropertyValueCrypt;


Description

Call EnablePropertyValueCrypt to start the encryption and decryption of string values. When enabled then the storage component triggers an OnEncryptPropertyValue event for each string value it writes to the storage, and an OnDecryptPropertyValue event for each string value it reads from the storage.
Every call to EnablePropertyValueCrypt should be paired with a call to DisablePropertyValueCrypt. EnablePropertyValueCrypt/DisablePropertyValueCrypt pairs can be nested.


See Also

TJvCustomAppStorage.DisablePropertyValueCrypt, TJvCustomAppStorage.IsPropertyValueCryptEnabled, TJvCustomAppStorage.OnEncryptPropertyValue, TJvCustomAppStorage.OnDecryptPropertyValue


About

Notes

Only string values are encrypted/decrypted. You can use StorageOptions to read and write non-string values also as string.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page