Advertisement
Guest User

cerealkill3r

a guest
Nov 29th, 2015
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. import md5
  2. import base64
  3.  
  4. print ''' _____ _____ _
  5. | __ \ / ____| | |
  6. | |__) | _| | _ __ _ _ _ __ | |_
  7. | ___/ | | | | | '__| | | | '_ \| __|
  8. | | | |_| | |____| | | |_| | |_) | |_
  9. |_| \__, |\_____|_| \__, | .__/ \__|
  10. __/ | __/ | |
  11. |___/ |___/|_|
  12. Made by Alex @ www.malexsoft.co \n'''
  13.  
  14. string = raw_input("String you want to encrpyt : ")
  15. key = raw_input("Encryption key (leave blank if none) : ")
  16. print"Choose an encryption type"
  17. print"1. md5"
  18. print"2. base64"
  19. method = raw_input("I want to use : ")
  20.  
  21. if(method == "1"):
  22. print(md5.new(string).hexdigest())
  23. if(method == "2"):
  24. print base64.b64encode(string)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement