mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 09:26:27 +00:00
Ne pas afficher en clair dans les logs les mdp c'est bon esprit.
This commit is contained in:
parent
d2d3a66ab1
commit
d3a4d71241
1 changed files with 0 additions and 1 deletions
|
@ -27,7 +27,6 @@ def encrypt(key, s):
|
||||||
def decrypt(key, s):
|
def decrypt(key, s):
|
||||||
obj = AES.new(key)
|
obj = AES.new(key)
|
||||||
ss = obj.decrypt(s)
|
ss = obj.decrypt(s)
|
||||||
print(ss)
|
|
||||||
return ss.split(bytes(EOD, 'utf-8'))[0]
|
return ss.split(bytes(EOD, 'utf-8'))[0]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue