@JvmStatic fun encodeString(text: String): Base64UrlString
Encodes the given string into a base64 URL-safe string by first converting it into a byte array using an UTF-8 charset and then encoding it.
text - is the text to encode
text