Omnibus commited on
Commit
d7b2896
·
1 Parent(s): 7bf543d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -84,6 +84,7 @@ def generate_keys1():
84
  return public_key,private_key
85
 
86
  def encrypt_text1(data,in2):
 
87
  #data = "I met aliens in UFO. Here is the map.".encode("utf-8")
88
  file_out = open("encrypted_data.bin", "wb")
89
 
 
84
  return public_key,private_key
85
 
86
  def encrypt_text1(data,in2):
87
+ data = data.encode("utf-8")
88
  #data = "I met aliens in UFO. Here is the map.".encode("utf-8")
89
  file_out = open("encrypted_data.bin", "wb")
90