tupelo.base64url
Convert to/from traditional base64url encoding.
base64url-decoder
(base64url-decoder)
base64url-encoder
(base64url-encoder)
decode-byte-array
(decode-byte-array byte-arr)
Decodes a byte array from base64url, returning a new byte array.
decode-str
(decode-str code-str)
Inputs: [code-str :- s/Str]
Returns: s/Str
Decodes a base64url encoded String, returning a String.
decode-str->byte-array
(decode-str->byte-array code-str)
Inputs: [code-str :- s/Str]
Decodes a base64url encoded String, returning a byte array
decode-str->bytes
(decode-str->bytes code-str)
Inputs: [code-str :- s/Str]
Returns: [s/Int]
Decodes a base64url encoded String, returning a vector of byte values
encode-byte-array
(encode-byte-array byte-arr)
Encodes a byte array into base64url, returning a new byte array.
encode-byte-array->str
(encode-byte-array->str byte-arr)
Inputs: [byte-arr]
Returns: s/Str
Encodes a byte array into base64url, returning a String.
encode-bytes->str
(encode-bytes->str src-bytes)
Inputs: [src-bytes :- [s/Int]]
Returns: s/Str
Encodes a vector of byte values into base64url, returning a String.
encode-str
(encode-str src-str)
Inputs: [src-str :- s/Str]
Returns: s/Str
Encodes a String into base64url, returning a String.
encoding-char-set
A set of chars used for traditional base64url encoding (incl. padding char)