Version: 1.0.01.0.11.0.31.0.41.0.61.0.71.0.81.0.91.0.101.0.111.0.121.0.131.0.141.0.151.0.161.0.171.0.181.0.191.0.201.0.211.0.221.0.231.0.241.0.251.1.01.1.11.1.21.1.31.1.41.1.51.1.61.2.01.2.21.2.31.2.41.2.51.2.61.2.71.2.81.2.91.2.101.2.111.3.01.3.11.3.21.3.31.3.41.3.51.3.61.3.71.3.81.3.91.4.02.0.02.0.12.0.22.1.02.1.12.1.22.1.32.1.42.1.52.1.62.2.02.2.12.2.2
"use strict"
module.exports = {
encode(text) {
return Buffer(text).toString("base64")
},
decode(token) {
return Buffer.from(token, "base64").toString("ascii")
}