Omnibus commited on
Commit
8fd7965
·
1 Parent(s): f298061

Update crypt.py

Browse files
Files changed (1) hide show
  1. crypt.py +2 -2
crypt.py CHANGED
@@ -335,11 +335,11 @@ def decrypt_trans(data,key):
335
  print(f' DATA ::: {data}')
336
  enc_in = data
337
  print(f' KEY ::: {key}')
338
- private_key =key
339
  #enc_in = decode(im)
340
  secret_code="SECRET PASSWORD"
341
 
342
- #private_key = RSA.import_key(key,passphrase=secret_code)
343
 
344
 
345
 
 
335
  print(f' DATA ::: {data}')
336
  enc_in = data
337
  print(f' KEY ::: {key}')
338
+ #private_key =key
339
  #enc_in = decode(im)
340
  secret_code="SECRET PASSWORD"
341
 
342
+ private_key = RSA.import_key(key,passphrase=secret_code)
343
 
344
 
345