It looks like you're new here. If you want to get involved, click one of these buttons!
#!/usr/bin/python
import time
import sha
import md5
import base64
import sys
print \"Bliex encrypting service\n\"
time.sleep(2)
#Asks for encryption type
quest = raw_input(\"\"\"1)Encrypt with b64\n
2)Encrypt with SHA\n
3)Encrypt with MD5\n
Choose a number: \"\"\")
#Depending on what number you entered it uses that number in a if statement
if quest == '1' :
nameb64 = base64.encodestring(raw_input('Encrypt with base64: '))
print nameb64
con = raw_input('Press <enter>')
if quest == '2' :
namesha = sha.new(raw_input('Encrypt with SHA: '))
print namesha.hexdigest()
cont = raw_input('Press <enter>')
if quest == '3' :
namemd5 = md5.new(raw_input('Encrypt with MD5: '))
print namemd5.hexdigest()
conti = raw_input('Press <enter>')
#Asks for decryption
if quest == '1' :
b64encr = raw_input('I can decrypt B64 too, do you want to do that? ')
else :
sys.exit()
if b64encr == 'yes' :
base74 = base64.decodestring(raw_input('Text to decode: '))
print base74
quiitt = raw_input('press <enter> to quit')
[code]