base64url Encode
Encodes a byte array to Base64URL format (RFC 4648 Section 5, no padding).
Uses URL-safe alphabet: - instead of +, _ instead of /. Padding = characters are stripped.
Return
Base64URL-encoded string without padding
Parameters
data
The data to encode