Omnibus commited on
Commit
c2978fc
·
1 Parent(s): 6220424

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -158,6 +158,13 @@ def decrypt_text1(im,in2):
158
  enc_session_key, nonce, tag, ciphertext = \
159
  [ file_in.read(x) for x in (private_key.size_in_bytes(), 16, 16, -1) ]
160
  file_in.close()
 
 
 
 
 
 
 
161
 
162
  # Decrypt the session key with the private RSA key
163
  cipher_rsa = PKCS1_OAEP.new(private_key)
 
158
  enc_session_key, nonce, tag, ciphertext = \
159
  [ file_in.read(x) for x in (private_key.size_in_bytes(), 16, 16, -1) ]
160
  file_in.close()
161
+ print (f'enc_session_key::{enc_session_key}')
162
+ print (f'nonce::{nonce}')
163
+ print (f'tag::{tag}')
164
+ print (f'ciphertext::{ciphertext}')
165
+
166
+
167
+
168
 
169
  # Decrypt the session key with the private RSA key
170
  cipher_rsa = PKCS1_OAEP.new(private_key)