thieumao

Encode Decode in Python

Dec 14th, 2013
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. # md5
  2. import md5
  3. md5.md5('thieumao').hexdigest()
  4.  
  5. # base64
  6. import base64
  7. base64.b64encode('thieumao')
  8. base64.b64decode('dGhpZXVtYW8=')
Advertisement
Add Comment
Please, Sign In to add comment