encryption.hHeader
This header file configures the encryption mechanism for the antispy SDK library based on the build settings. More...
Detailed Description
The encryption.h
file serves as a configuration point for selecting the appropriate encryption mechanism to be used within the antispy SDK
library. Depending on the value of the preprocessor directive ANTISPY_USE_ENHANCED_ENCRYPTION
, the file will include either the enhanced encryption module or the default encryption module.
Key Features:
Conditional Compilation : The file uses conditional compilation to choose between different encryption strategies.
Modular Design : The separation of enhanced and default encryption mechanisms allows for easy extension and customization.
Centralized Configuration : By including this file, developers can ensure that the appropriate encryption strategy is applied consistently across the entire project.
Preprocessor Directives:
- **
ANTISPY_USE_ENHANCED_ENCRYPTION
**:When defined, the enhanced encryption module is included, providing a more robust and secure encryption method.
When undefined, the default encryption module is used, offering a baseline encryption strategy.
Example Usage:
To use enhanced encryption, define ANTISPY_USE_ENHANCED_ENCRYPTION
before including this header:
To use the default encryption, simply include the header without defining ANTISPY_USE_ENHANCED_ENCRYPTION
:
This file should be included wherever encryption is required within the antispy SDK
library to ensure that the correct encryption module is applied throughout the application.