$Crypto.ToBase64

Overview

Converts the given string to base64 encoded string

string $Crypto.ToBase64(input: string)

Arguments

string input

String to be converted

Returns

Base64 encoded string

Example

Convert string to base64

var base64String = $Crypto.ToBase64('Hello World');

Copyright © 2010 - 2023 Emakin. All rights reserved.