示例#1
0
文件: mdbc.py 项目: pdogg/mdbc
def makeItRain(ciphertext):
	print "Cry \'Havoc!\', and let slip the dogs of war"
	print "Shift Cipher:"
	shift.bruteForce(ciphertext)
	print "\nAffine Cipher:"
	affine.bruteForce(ciphertext)
	print "\nAtbash :"
	print atbash.decrypt(ciphertext)
	print "\nMorse Code:"
	print morse.encode(ciphertext)
示例#2
0
文件: keyed.py 项目: pdogg/mdbc
def speedy(plaintext, key):
	w = encrypt(plaintext, key)
	shift.bruteForce(w)