Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,6 +23,7 @@ def encrypt(mes=None,img=None,document=None):
|
|
| 23 |
h = hashlib.new('sha256')
|
| 24 |
h.update(key)
|
| 25 |
h.hexdigest()
|
|
|
|
| 26 |
print (key)
|
| 27 |
print (h)
|
| 28 |
key = h
|
|
|
|
| 23 |
h = hashlib.new('sha256')
|
| 24 |
h.update(key)
|
| 25 |
h.hexdigest()
|
| 26 |
+
h.encode()
|
| 27 |
print (key)
|
| 28 |
print (h)
|
| 29 |
key = h
|