From 39b3bdf8b743278aaa92ca476092d91443d8ca42 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 6 Oct 2019 16:19:18 +0200 Subject: [PATCH] Add export list --- hypercore_crypto/crypto.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hypercore_crypto/crypto.py b/hypercore_crypto/crypto.py index a19ae0d..6ae8a80 100644 --- a/hypercore_crypto/crypto.py +++ b/hypercore_crypto/crypto.py @@ -15,6 +15,18 @@ from pysodium import ( randombytes, ) +__all__ = [ + 'key_pair', + 'sign', + 'verify', + 'data', + 'leaf', + 'parent', + 'tree', + 'random_bytes', + 'discovery_key', +] + # https://en.wikipedia.org/wiki/Merkle_tree#Second_preimage_attack LEAF_TYPE = bytes([0]) PARENT_TYPE = bytes([1])