'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const decode = (val) => Buffer.from(val, "base64").toString(); const encode = (val) => Buffer.from(val).toString("base64"); const decodeUrl = (val) => Buffer.from(val, "base64url").toString(); const encodeUrl = (val) => Buffer.from(val).toString("base64url"); exports.decode = decode; exports.decodeUrl = decodeUrl; exports.encode = encode; exports.encodeUrl = encodeUrl;