Spaces:
Runtime error

dnasafe commited on
Commit
9d3f042
·
verified ·
1 Parent(s): 706a7d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -49,11 +49,11 @@ def secure_encoding(input_data):
49
  print("Decrypted Count:", decrypted_count)
50
 
51
  return (
52
- f"Input raw data: {data}",
53
- f"Encoded raw data: {encoded_data}",
54
- f"Encrypted Ciphertext of the First Element: {encrypted_data[0].ciphertext()}",
55
- f"Encrypted Count: {encrypted_count}",
56
- f"Decrypted Count: {decrypted_count}",
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