8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-27 07:02:26 +00:00

Ne pas afficher en clair dans les logs les mdp c'est bon esprit.

This commit is contained in:
Hugo LEVY-FALK 2018-02-23 08:21:43 +01:00 committed by root
parent d2d3a66ab1
commit d3a4d71241

View file

@ -27,7 +27,6 @@ def encrypt(key, s):
def decrypt(key, s):
obj = AES.new(key)
ss = obj.decrypt(s)
print(ss)
return ss.split(bytes(EOD, 'utf-8'))[0]