Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,11 +49,11 @@ def secure_encoding(input_data):
|
|
| 49 |
print("Decrypted Count:", decrypted_count)
|
| 50 |
|
| 51 |
return (
|
| 52 |
-
f"
|
| 53 |
-
f"Encoded raw data: {encoded_data}",
|
| 54 |
-
f"Encrypted Ciphertext
|
| 55 |
-
f"Encrypted
|
| 56 |
-
f"Decrypted
|
| 57 |
"Data processing is complete. The encrypted data and count have been generated."
|
| 58 |
)
|
| 59 |
|
|
|
|
| 49 |
print("Decrypted Count:", decrypted_count)
|
| 50 |
|
| 51 |
return (
|
| 52 |
+
f"Raw data (only data owner has access to the plain text): {data}",
|
| 53 |
+
f"Encoded raw data and encrypt with private key: {encoded_data}",
|
| 54 |
+
f"Encrypted Ciphertext: {encrypted_data[0].ciphertext()}",
|
| 55 |
+
f"Encrypted esult: {encrypted_count}",
|
| 56 |
+
f"Decrypted Result: {decrypted_count}",
|
| 57 |
"Data processing is complete. The encrypted data and count have been generated."
|
| 58 |
)
|
| 59 |
|