Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

hide password in python

#https://docs.python.org/3/library/base64.html

>>> import base64
>>>  print(base64.b64encode("password".encode("utf-8")))
cGFzc3dvcmQ=
>>> print(base64.b64decode("cGFzc3dvcmQ=").decode("utf-8"))
password
Comment

PREVIOUS NEXT
Code Example
Python :: abstract class in python 
Python :: pandas difference between dates in hours 
Python :: how to join two tuples in python 
Python :: python sort a list by a custom order 
Python :: text to speech module python 
Python :: print multiple strings in python 
Python :: pynput keyboard backspace 
Python :: is python idle an ide 
Python :: np.unique 
Python :: how to create an auto clicker in python 
Python :: read header of csv file python 
Python :: count true in a dataframe 
Python :: stringindexer pyspark 
Python :: print function python 
Python :: python how to get rid of spaces in print 
Python :: selenium check if driver is open python 
Python :: text to png python 
Python :: python linked list insert 
Python :: remove last element in list python 
Python :: how to add keyboard to python turtle 
Python :: duck typing in python 
Python :: count variable in class python 
Python :: how to kill python process started by excel 
Python :: whole loop in python 
Python :: wxpython menu callback stackoverflow 
Python :: pypi modules for 3d gui 
Shell :: get cpu frequency linux 
Shell :: emu8086 registration key 
Shell :: mac restart audio driver 
Shell :: linker `cc` not found 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =