def checks(s): ph = PasswordHandler('password', 4) ph.start() out = ph.decode(s) ph.end() return out
def checksph(s, p, h): ph = PasswordHandler(p, h) ph.start() out = ph.encrypt_sum(s) ph.end() return out
def checksp2(s, p2): ph = PasswordHandler('password', 4) ph.start() out = ph.decrypt_sum(s, p2) ph.end() return out