Developer Documentation Library > UNICOM Intelligence Function Library > Miscellaneous functions > Base64Encode
 
Base64Encode
Base64‑encodes a string. This might be useful in creating an encryption key for use with Encrypt and Decrypt.
Syntax
Base64Encode(<value>) As String
Parameters
<value>
Type: String
Plain text that needs to be Base64‑encoded.
(return)
Type: String
Returns the Base64‑encoded Value string.
Example
Dim EncryptionKey, EncryptedResult
EncryptionKey = Base64Encode("e12zXyp04@jIcdMc")
EncryptedResult = Encrypt("ID976543", EncryptionKey)
See also
Base64Decode
Encrypt
Decrypt
Miscellaneous functions