For the DESEncryption or DESDecryption client actions to function, the DES Script must be explicitly referenced in the Scope.
How to add the Script:
[!CAUTION]
Runtime Error: If this script is missing, the client actions will fail to initialize the cryptographic library, resulting in a "ReferenceError: DES is not defined" in the browser console.
3. Client Actions Reference
A. DESEncryption
Used to secure sensitive data before storage or transmission.
B. DESDecryption
Used to retrieve original data from a secured string.
4. Integration Best Practices
Category
Requirement
Key Strength
Ensure the SecretKey is 64-bit. Use a high-entropy string to maximize security.
Data Alignment
Ensure data is 64-bit aligned before transmission to prevent padding mismatches.
Security Note
DES is a legacy protocol. For modern production environments requiring high security, use of AES-256 is recommended over DES.
5. Demo & Testing
You can verify the logic and UI implementation by visiting the Symmetric DES Engine Demo. The demo showcases the Plug & Play Script Architecture and the parameter-driven sample data workflow.