base64

fun base64(username: String, password: String): String

Encode the given username and password to a base 64 String.

Return

An encoded base 64 String.

Parameters

username

The username of the user account.

password

The password of the user account.


fun base64(value: String): String

Encode the given string to a base 64 String.

Return

An encoded base 64 String.

Parameters

value

The value to encode