Add export list

This commit is contained in:
Luke Murphy 2019-10-06 16:19:18 +02:00
parent 2c50616ab8
commit 39b3bdf8b7
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 12 additions and 0 deletions

View File

@ -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])