Developer Documentation Library > Scripting > 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