-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathencryption.py
More file actions
22 lines (22 loc) · 817 Bytes
/
encryption.py
File metadata and controls
22 lines (22 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
'''import random
import string
with open("SuperSecurePepegaEncryption.txt", "a+") as texthandle:
randomnumber = random.randint(0, 1000000)
print(randomnumber)
for n in range(randomnumber):
allletters = string.ascii_letters
texthandle.write(random.choice(allletters))
texthandle.write("2anjpsryvwofq6l21o5bhkywltsidw")
randomnumber2 = random.randint(0, 1000000)
print(randomnumber2)
for n in range(randomnumber2):
allletters = string.ascii_letters
texthandle.write(random.choice(allletters))
texthandle.close()
'''
with open("SuperSecurePepegaEncryption.txt", "r") as texthandle:
buildstring = ""
for thing in texthandle:
buildstring += thing
print(buildstring.find("2anjpsryvwofq6l21o5bhkywltsidw"))
print(buildstring[178655:178685])