Sha256: 1017fd7e2ca74caf6455d3954f5d92448a835a41402bd20a8ca24fa288d0e0a9
Contents?: true
Size: 453 Bytes
Versions: 38
Compression:
Stored size: 453 Bytes
Contents
# frozen_string_literal: true require 'graphql/schema/base_64_bp' module GraphQL class Schema # @api private module Base64Encoder def self.encode(unencoded_text, nonce: false) Base64Bp.urlsafe_encode64(unencoded_text, padding: false) end def self.decode(encoded_text, nonce: false) # urlsafe_decode64 is for forward compatibility Base64Bp.urlsafe_decode64(encoded_text) end end end end
Version data entries
38 entries across 38 versions & 1 rubygems