Difference between revisions of "BASE64 ENCODE()"

From Lianjapedia
Jump to: navigation, search
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Encode a string with MIME base64
 
Encode a string with MIME base64
 
  
 
==Syntax==
 
==Syntax==
 
BASE64_ENCODE(<expC>)
 
BASE64_ENCODE(<expC>)
 
  
 
==See Also==
 
==See Also==
 
[[BASE64_DECODE()]]
 
[[BASE64_DECODE()]]
 
  
 
==Description==
 
==Description==
Line 15: Line 12:
  
 
The BASE64_DECODE() function is used to decode back to the string.
 
The BASE64_DECODE() function is used to decode back to the string.
 
  
 
==Example==
 
==Example==
Line 25: Line 21:
 
strtofile(base64_encode(m_pass),"password.txt")
 
strtofile(base64_encode(m_pass),"password.txt")
 
</code>
 
</code>
 
  
 
==Products==
 
==Products==

Revision as of 11:30, 11 December 2012

Purpose

Encode a string with MIME base64

Syntax

BASE64_ENCODE(<expC>)

See Also

BASE64_DECODE()

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")

Products

Lianja, Lianja Server