client-side-aes-encryption
Reactive icon

Client Side AES Encryption

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 11 Apr (14 hours ago)
 by 
EONE TECHNOLOGIES PRIVATE LIMITED
0.0
 (0 ratings)
client-side-aes-encryption

Client Side AES Encryption

Documentation
1.0.0

Technical Specifications

1. Encrypt Logic

Converts readable text into an obfuscated ciphertext.

Parameter

Type

Description

Payload

Text (Input)

The raw string or data you wish to encrypt.

Secret Key

Text (Input)

The unique key used to scramble the data. Keep this secure.

Result

Text (Output)

The resulting Base64 encoded ciphertext.

2. Decrypt Logic

Reverts ciphertext back into its original plain text format.

Parameter

Type

Description

Payload

Text (Input)

The encrypted ciphertext (Base64 string).

Secret Key

Text (Input)

The exact key used during the encryption process.

Result

Text (Output)

The original plain text.


Implementation Guide

Best Practices for Developers

  1. Key Management: Never hardcode your Secret Key in a client-side expression.
  2. Server-Side Execution: Always perform encryption and decryption in Server Actions. Handling raw keys or sensitive payloads on the client side (Browser) exposes your logic to potential interception.
  3. Error Handling: Wrap decryption actions in an Exception Handler. If an incorrect key is provided or the payload is tampered with, the component may throw an error.

Quick Start Example

  • Step 1: Reference the AES_Encrypt action from the Producer module.
  • Step 2: Drag the action into your "Save" logic.
  • Step 3: Pass your sensitive
  • Step 4: Map the Result output to your Database entity attribute.

Note: This component is designed for data-at-rest and data-in-transit obfuscation. Ensure your Secret Key meets complexity requirements (e.g., 128, 192, or 256 bits) depending on your specific AES implementation requirements.