renamed 2 digit file names

This commit is contained in:
Tristan 2018-12-10 23:56:11 +00:00
parent 018011dd27
commit b4d985a55a
44 changed files with 0 additions and 0 deletions

14
2015/04/part1.py Normal file
View file

@ -0,0 +1,14 @@
input = "ckczppom"
import hashlib
num = 6
i = 0
while True:
i += 1
m = hashlib.md5()
m.update(str(input+str(i)).encode())
print(m.hexdigest())
if m.hexdigest()[0:num] == "0"*num:
print(i)
break