Omnibus commited on
Commit
7c0a05c
·
1 Parent(s): fe29859

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -174,7 +174,7 @@ def decrypt_text1(im,in2):
174
  file_in = open("encrypted_data1.bin", "rb")
175
 
176
  private_key = RSA.import_key(open("private.pem").read())
177
- enc_in=enc_in.strip('"')
178
  #enc_session_key, nonce, tag, cipher_text = enc_in[0],enc_in[1],enc_in[2],enc_in[3]
179
  enc_session_key, nonce, tag, ciphertext = \
180
  [ file_in.read(x) for x in (private_key.size_in_bytes(), 16, 16, -1) ]
 
174
  file_in = open("encrypted_data1.bin", "rb")
175
 
176
  private_key = RSA.import_key(open("private.pem").read())
177
+ #enc_in=enc_in.strip('"')
178
  #enc_session_key, nonce, tag, cipher_text = enc_in[0],enc_in[1],enc_in[2],enc_in[3]
179
  enc_session_key, nonce, tag, ciphertext = \
180
  [ file_in.read(x) for x in (private_key.size_in_bytes(), 16, 16, -1) ]