-
Notifications
You must be signed in to change notification settings - Fork 0
/
my_library.py
45 lines (27 loc) · 1.41 KB
/
my_library.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
chars = [ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k',
'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',
'w', 'x', 'y', 'z' ]
nums = [ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' ]
bank = [ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',
'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't',
'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3',
'4', '5', '6', '7', '8', '9' ]
odd_chars = [ '\a', '\t', '\a' ]
incorrect_input = '''\n\n\n\n\n\n\n\n\nWARNING: Incorrect input'''
var = '''On your Desktop, a folder called "SecureData" has been created with "NOTES.txt" held inside
<current drive> / <current user> / Desktop / SecureData / NOTES.txt
---- Creating a "SafeNote"? ----
1. Find "NOTES.txt" and enter/alter contents
2. Run this program(remember your password)
3. DONE! The note is now unreadable
---- Viewing this "SafeNote"? ----
1. Run this program(remember your password)
2. Find "NOTES.txt" and enter/alter contents
3. Run this program once again for security
4. DONE! The note is now unreadable(again)
Want to keep note safe after done? ENCRYPT!
Locked/unreadable and want to view? DECRYPT!
... put simply - run this program to open/decrypt and to close/encrypt
***Do not edit the program files in any way
***Do not edit its Desktop file structure in any way
CLICK THE "DONE" BUTTON BELOW WHEN FINISHED'''