Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- base64EncodedCredentials = base64.b64encode(b"johndoe:mysecret")
- print(base64EncodedCredentials)
- b'am9obmRvZTpteXNlY3JldA=='
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement