Version 1 (modified by jazz, 5 years ago) (diff) |
---|
2019-09-24
base64
- Objective: create Base64 encoded "username:password" string for JIRA API
- Reference:
- [1] https://www.base64encode.net/python-base64-b64encode
- [2] https://github.com/base64encode/examples/blob/master/base64encode.py
- [3] https://superuser.com/questions/120796/how-to-encode-base64-via-command-line
echo -n "abc" | openssl base64
import base64 print base64.b64encode "abc"