Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import md5
- import base64
- print ''' _____ _____ _
- | __ \ / ____| | |
- | |__) | _| | _ __ _ _ _ __ | |_
- | ___/ | | | | | '__| | | | '_ \| __|
- | | | |_| | |____| | | |_| | |_) | |_
- |_| \__, |\_____|_| \__, | .__/ \__|
- __/ | __/ | |
- |___/ |___/|_|
- Made by Alex @ www.malexsoft.co \n'''
- string = raw_input("String you want to encrpyt : ")
- key = raw_input("Encryption key (leave blank if none) : ")
- print"Choose an encryption type"
- print"1. md5"
- print"2. base64"
- method = raw_input("I want to use : ")
- if(method == "1"):
- print(md5.new(string).hexdigest())
- if(method == "2"):
- print base64.b64encode(string)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement