[Function] Encode and Decode

Status
Not open for further replies.

admin

Administrator
Staff member
  • 1. Base64
    • btoa: takes a string and encodes it in Base64. Use the syntax:
      Code:
      btoa(input)
    • atob: decodes a Base64 encoded string back into its original format. Use the syntax:
      Code:
      atob(encodedInput)
  • 2. Encrypt string
    • used to generate a hash value of a given input string using a specified hashing algorithm:
      Code:
      encrypt(string, type)
    • with md5, use the syntax:
      Code:
      md5(string)
    • to translate a Markdown document to HTML, use the syntax:
      Code:
      markdown(string)
 
Status
Not open for further replies.
Back
Top