- 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)
- btoa: takes a string and encodes it in Base64. Use the syntax:
- 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)
- used to generate a hash value of a given input string using a specified hashing algorithm: