hypercore-crypto/hypercore_crypto/__init__.py
Luke Murphy c11909012a
Rework to use pysodium, document and test further
Still on key_pair, sign and verify
2019-10-05 14:11:14 +02:00

25 lines
385 B
Python

"""hypercore-crypto module."""
from hypercore_crypto.crypto import ( # noqa
data,
discovery_key,
key_pair,
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'