Пример #1
0
 def checks(s):
     ph = PasswordHandler('password', 4)
     ph.start()
     out = ph.decode(s)
     ph.end()
     return out
Пример #2
0
 def checksph(s, p, h):
     ph = PasswordHandler(p, h)
     ph.start()
     out = ph.encrypt_sum(s)
     ph.end()
     return out
Пример #3
0
 def checksp2(s, p2):
     ph = PasswordHandler('password', 4)
     ph.start()
     out = ph.decrypt_sum(s, p2)
     ph.end()
     return out