Onionr/onionr/onionrcrypto/cryptoutils/__init__.py

9 lines
345 B
Python
Raw Normal View History

2019-07-22 05:24:42 +00:00
from . import safecompare, replayvalidation, randomshuffle, verifypow
from . import getpubfrompriv
2019-07-20 00:01:16 +00:00
replay_validator = replayvalidation.replay_timestamp_validation
random_shuffle = randomshuffle.random_shuffle
2019-07-22 05:24:42 +00:00
safe_compare = safecompare.safe_compare
verify_POW = verifypow.verify_POW
get_pub_key_from_priv = getpubfrompriv.get_pub_key_from_priv