D
Size: a a a
РК
НС
const alp = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
const myAtob = (s, l = 0) => s
.replace(/[\r\n\s]/g, "")
.replace(/=/g, _ => (l++,"A"))
.replace(/.{4}/g, s => (
s = [...s].reduce((s, v, i) => s |= alp.indexOf(v) << (6*(3 - i)), 0),
[16,8,0].map(i => String.fromCharCode((s >> i) & 0xFF)).join("")
))
.slice(0, -l || void 0)
L
НС
L
НС
L
const alp = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
const myAtob = (s, l = 0) => s
.replace(/[\r\n\s]/g, "")
.replace(/=/g, _ => (l++,"A"))
.replace(/.{4}/g, s => (
s = [...s].reduce((s, v, i) => s |= alp.indexOf(v) << (6*(3 - i)), 0),
[16,8,0].map(i => String.fromCharCode((s >> i) & 0xFF)).join("")
))
.slice(0, -l || void 0)
НС
НС
L
KB
const alp = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
const myAtob = (s, l = 0) => s
.replace(/[\r\n\s]/g, "")
.replace(/=/g, _ => (l++,"A"))
.replace(/.{4}/g, s => (
s = [...s].reduce((s, v, i) => s |= alp.indexOf(v) << (6*(3 - i)), 0),
[16,8,0].map(i => String.fromCharCode((s >> i) & 0xFF)).join("")
))
.slice(0, -l || void 0)
НС
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
const map = Array(128)
chars.split('').forEach((c, i) => (map[c.charCodeAt(0)] = i.toString(4).padStart(3, 0)))
const otherAtob = (string, tmp = '', res = []) => {
for (let i = 0; i < string.length; i++) {
tmp += map[string.charCodeAt(i)] || ''
if (tmp.length >= 4) {
res.push(String.fromCharCode(parseInt(tmp.slice(0, 4), 4)))
tmp = tmp.slice(4)
}
}
return res.join('')
}
НС
L
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
const map = Array(128)
chars.split('').forEach((c, i) => (map[c.charCodeAt(0)] = i.toString(4).padStart(3, 0)))
const otherAtob = (string, tmp = '', res = []) => {
for (let i = 0; i < string.length; i++) {
tmp += map[string.charCodeAt(i)] || ''
if (tmp.length >= 4) {
res.push(String.fromCharCode(parseInt(tmp.slice(0, 4), 4)))
tmp = tmp.slice(4)
}
}
return res.join('')
}
t
D
const alp = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
const myAtob = (s, l = 0) => s
.replace(/[\r\n\s]/g, "")
.replace(/=/g, _ => (l++,"A"))
.replace(/.{4}/g, s => (
s = [...s].reduce((s, v, i) => s |= alp.indexOf(v) << (6*(3 - i)), 0),
[16,8,0].map(i => String.fromCharCode((s >> i) & 0xFF)).join("")
))
.slice(0, -l || void 0)
ВЛ
ВЛ