Skip to content

Instantly share code, notes, and snippets.

@cho0o0
Last active November 13, 2024 19:53
Show Gist options
  • Save cho0o0/1b8ef91001919646a55950a08cb132be to your computer and use it in GitHub Desktop.
Save cho0o0/1b8ef91001919646a55950a08cb132be to your computer and use it in GitHub Desktop.
Generate Outline access key based on Shadowsocks infomation
const generateAccesskey = (method, password, ip, port) => {
const firstPart = btoa(`${method.toLowerCase()}:${password}`)
const secondPart = `${ip}:${port}`
const accesskey = `ss://${firstPart}@${secondPart}`
return accesskey
}
@Mina634
Copy link

Mina634 commented Feb 5, 2023

Plz give me outline keys

@iamryanchia
Copy link

Save your time! if outline warnes invalid access key, check the cipher (method) passed to function is chacha20-ietf-poly1305, this is critical.

As a note, AEAD_CHACHA20_POLY1305 is a alias of chacha20-ietf-poly1305.

@pooriya5
Copy link

Please give me outline key

@kyaygyi
Copy link

kyaygyi commented Jun 17, 2024

vလိုင်းမကောင်းလို့

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment