Skip to content

Commit

Permalink
add 11
Browse files Browse the repository at this point in the history
  • Loading branch information
svenwml committed Mar 12, 2022
1 parent 248dabd commit 6abaad2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions 11_Outer_Security_Layer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import string
import itertools
import hashlib

for subset in itertools.permutations(string.digits, 6):

numberEnd = ('3','0','0','6','3','1')
wholeNumber = subset + numberEnd
wholeNumberBytes = b""

for i in range(12):
wholeNumberBytes = wholeNumberBytes + wholeNumber[i].encode('utf-8')

md5 = hashlib.md5(wholeNumberBytes).hexdigest()

if md5.startswith("351635d71448baca"):
for digit in wholeNumber:
print(digit, end='')

0 comments on commit 6abaad2

Please sign in to comment.