Repository URL to install this package:
|
Version:
1.8.2 ▾
|
# frozen_string_literal: true
module GraphQL
class Schema
# @api private
module Base64Encoder
def self.encode(plaintext, nonce: false)
Base64.strict_encode64(plaintext)
end
def self.decode(ciphertext, nonce: false)
Base64.decode64(ciphertext)
end
end
end
end