Last active
November 13, 2024 19:53
-
-
Save cho0o0/1b8ef91001919646a55950a08cb132be to your computer and use it in GitHub Desktop.
Generate Outline access key based on Shadowsocks infomation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const generateAccesskey = (method, password, ip, port) => { | |
const firstPart = btoa(`${method.toLowerCase()}:${password}`) | |
const secondPart = `${ip}:${port}` | |
const accesskey = `ss://${firstPart}@${secondPart}` | |
return accesskey | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vလိုင်းမကောင်းလို့