Omnibus commited on
Commit
4858e47
·
1 Parent(s): ba190da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def rsa_generate():
64
 
65
 
66
  def rsa_encrypt(msg,pubKey):
67
-
68
  key = b64decode(pubKey)
69
  private_key = RSA.importKey(key)
70
  #cipher = PKCS1_v1_5.new(private_key)
 
64
 
65
 
66
  def rsa_encrypt(msg,pubKey):
67
+ pubKey = pubKey.strip('"')
68
  key = b64decode(pubKey)
69
  private_key = RSA.importKey(key)
70
  #cipher = PKCS1_v1_5.new(private_key)