module
JOSE::Base64Url
Overview
Base64url encoding/decoding utilities (RFC 7515 §2).
Defined in:
jose/base64url.crClass Method Summary
-
.decode(str : String) : Bytes
Decodes the URL-safe base64 string str, adding padding as required.
-
.encode(data : Bytes) : String
Encodes data as a URL-safe base64 string without padding (RFC 7515 §2).
Class Method Detail
def self.decode(str : String) : Bytes
#
Decodes the URL-safe base64 string str, adding padding as required.
def self.encode(data : Bytes) : String
#
Encodes data as a URL-safe base64 string without padding (RFC 7515 §2).