Guest User

Untitled

a guest
Apr 22nd, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. import base64
  2.  
  3. server = "12.34.56.78"
  4. port = "12345"
  5. password = "Here is the password"
  6. encrypt_method = "chacha20-ietf-poly1305"
  7. s = "{}:{}".format(encrypt_method, password).encode()
  8. print("ss://{}@{}:{}".format(base64.standard_b64encode(s).decode(), server, port))
Add Comment
Please, Sign In to add comment