Onionr/src/onionrcrypto/cryptoutils/__init__.py

8 lines
284 B
Python

from . import safecompare, replayvalidation, verifypow
from . import getpubfrompriv
replay_validator = replayvalidation.replay_timestamp_validation
safe_compare = safecompare.safe_compare
verify_POW = verifypow.verify_POW
get_pub_key_from_priv = getpubfrompriv.get_pub_key_from_priv