From Clomosy Docs

No edit summary
No edit summary
 
Line 39: Line 39:
<h2> See Also </h2>
<h2> See Also </h2>
* [[Clomosy_Class#Cryptographic_Encryption | Cryptographic Encryption]]
* [[Clomosy_Class#Cryptographic_Encryption | Cryptographic Encryption]]
{{#seo:|title=AES Encryption Overview - Clomosy Docs}}
{{#seo:|description=Learn about AES Encryption in Clomosy Docs. A guide to implementing secure data encryption using the AES algorithm for your mobile apps.}}

Latest revision as of 14:02, 23 December 2024

AES (Advanced Encryption Standard) is a symmetric key encryption algorithm, meaning the same key is used both to encrypt data and decrypt the encrypted data. This ensures the secure transmission of data.

The usage of AES encryption method in Clomosy includes:

  • Encryption: The ProjectEncryptAES function is used for encrypting text. This function takes a parameter of type string.

Use of:


  • Decryption: To decrypt the encrypted text, the ProjectDecryptAES function is used. This function also takes a parameter of type string.

Use of:

Example
In the example, a text is encrypted and displayed in a message box. Then, the encrypted text is decrypted, and the decrypted version is displayed again.

var
  text: string;
  encryptedValue: string;
  decryptedValue: string;
{
  text = 'Clomosy Learn';
  encryptedValue = Clomosy.ProjectEncryptAES(text);
  ShowMessage('Encrypted Value: ' + encryptedValue);

  decryptedValue = Clomosy.ProjectDecryptAES(encryptedValue);
  ShowMessage('Decrypted Value: ' + decryptedValue);
}

See Also