Encryption and Encoding Functions

Encryption and Encoding Functions

 This section contains functions that enable users to handle encryption and encoding of text strings.

Functions Summary

  • base64DecodeDecodes from Base64. This is useful when transferring data like retrieving images stored in a database.
  • base64EncodeEncodes text in Base64.
  • decryptDecrypts text with AES Decryption using a 16, 32, 64, or 128 bit cipher.
  • encryptEncrypts text with AES encryption using a 16, 32, 64, or 128 bit cipher.
  • escapeHtmlEscapes the given html removing traces of offending characters that could be wrongfully interpreted as markup.
  • hmacSHA1Computes a signature over the data using HMAC - SHA1
  • hmacSHA256Computes a signature over the data using HMAC - SHA256
  • rsaSHA256Computes a signature over the data using RSA - SHA256
  • urlDecodeDecodes text from URL format. This is useful when parsing a URL address used by a REST command.
  • urlEncodeEncodes text in URL format.

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.