We've been making changes to how we organize and display our docs. Our work isn't done but we'd love your feedback.

digest.base64url()

Returns the Base64 encoding with URL and filename safe alphabet of the input string, as specified by RFC 4648.

Format

STRING
digest.base64url(STRING input)

Examples

1
2
3
declare local var.base64url_encoded STRING;
set var.base64url_encoded = digest.base64url("Καλώς ορίσατε");
# var.base64url_encoded is now "zprOsc67z47PgiDOv8-Bzq_Pg86xz4TOtQ=="