eggcrypt 1.0.2__tar.gz → 1.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {eggcrypt-1.0.2 → eggcrypt-1.1.0}/PKG-INFO +3 -1
- {eggcrypt-1.0.2 → eggcrypt-1.1.0}/README.md +2 -0
- eggcrypt-1.1.0/eggcrypt/__init__.py +1 -0
- {eggcrypt-1.0.2 → eggcrypt-1.1.0}/eggcrypt/egg.py +9 -0
- {eggcrypt-1.0.2 → eggcrypt-1.1.0}/eggcrypt.egg-info/PKG-INFO +3 -1
- {eggcrypt-1.0.2 → eggcrypt-1.1.0}/pyproject.toml +1 -1
- {eggcrypt-1.0.2 → eggcrypt-1.1.0}/setup.py +1 -1
- eggcrypt-1.0.2/eggcrypt/__init__.py +0 -1
- {eggcrypt-1.0.2 → eggcrypt-1.1.0}/LICENSE +0 -0
- {eggcrypt-1.0.2 → eggcrypt-1.1.0}/eggcrypt.egg-info/SOURCES.txt +0 -0
- {eggcrypt-1.0.2 → eggcrypt-1.1.0}/eggcrypt.egg-info/dependency_links.txt +0 -0
- {eggcrypt-1.0.2 → eggcrypt-1.1.0}/eggcrypt.egg-info/top_level.txt +0 -0
- {eggcrypt-1.0.2 → eggcrypt-1.1.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eggcrypt
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: A pretty secure (yet inneficient) encryption program.
|
|
5
5
|
Author: Egglord
|
|
6
6
|
License: MIT
|
|
@@ -22,6 +22,8 @@ eggcrypt.encrypt("") # Returns an encrypted string.
|
|
|
22
22
|
|
|
23
23
|
eggcrypt.decrypt("") # Returns a non-encrypted string.
|
|
24
24
|
|
|
25
|
+
eggcrypt.key() # Returns a random key/seed.
|
|
26
|
+
|
|
25
27
|
# !NB!
|
|
26
28
|
|
|
27
29
|
Use: pip install eggcrypt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .egg import encrypt, decrypt
|
|
@@ -37,3 +37,12 @@ def decrypt(txt, rep=0):
|
|
|
37
37
|
final+=chr(int(temp))
|
|
38
38
|
temp=""
|
|
39
39
|
return final
|
|
40
|
+
def key():
|
|
41
|
+
import time
|
|
42
|
+
seed=1
|
|
43
|
+
for i in range(int(time.time()*10000)%100):
|
|
44
|
+
a=str(time.time()*10000)
|
|
45
|
+
a=a[0:10]
|
|
46
|
+
a=int(a)
|
|
47
|
+
seed=int(seed*a+(round(seed^a)))
|
|
48
|
+
return seed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eggcrypt
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: A pretty secure (yet inneficient) encryption program.
|
|
5
5
|
Author: Egglord
|
|
6
6
|
License: MIT
|
|
@@ -22,6 +22,8 @@ eggcrypt.encrypt("") # Returns an encrypted string.
|
|
|
22
22
|
|
|
23
23
|
eggcrypt.decrypt("") # Returns a non-encrypted string.
|
|
24
24
|
|
|
25
|
+
eggcrypt.key() # Returns a random key/seed.
|
|
26
|
+
|
|
25
27
|
# !NB!
|
|
26
28
|
|
|
27
29
|
Use: pip install eggcrypt
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
from .egg import encode, decode
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|