hypercore-crypto/hypercore_crypto/__init__.py
2019-10-04 23:20:02 +02:00

26 lines
411 B
Python

"""hypercore-crypto module."""
from hypercore_crypto.crypto import ( # noqa
blake2b,
data,
discovery_key,
encode_unsigned_int64,
leaf,
parent,
random_bytes,
sign,
tree,
verify,
)
try:
import pkg_resources
except ImportError:
pass
try:
__version__ = pkg_resources.get_distribution('hypercore_crypto').version
except Exception:
__version__ = 'unknown'