BASE64 ENCODE()

From Lianjapedia
Revision as of 12:05, 23 November 2021 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to encode a string with MIME base64

Syntax

BASE64_ENCODE(<expC>)

See Also

BASE64_DECODE(), BASE64_ENCODE_FILE(), BASE64_ENCODE_IMAGE(), STRCONV()

Description

The BASE64_ENCODE() function is used to encode a character string with MIME base64.

The BASE64_DECODE() function is used to decode back to the string.

Example

// Write encoded password to a file
m_pass=space(10)
@10,10 get m_pass
read
strtofile(base64_encode(m_pass),"password.txt")