UNPKG

@gdapi/crypto

Version:

Encrypt/Decrypt Geometry Dash related data

7 lines (6 loc) 152 B
export default function toURLSafeBase64 (str) { return str.replace(/\+|\//g, match => { if (match === '+') return '-' return '_' }) }