Add export list
This commit is contained in:
parent
2c50616ab8
commit
39b3bdf8b7
@ -15,6 +15,18 @@ from pysodium import (
|
|||||||
randombytes,
|
randombytes,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
'key_pair',
|
||||||
|
'sign',
|
||||||
|
'verify',
|
||||||
|
'data',
|
||||||
|
'leaf',
|
||||||
|
'parent',
|
||||||
|
'tree',
|
||||||
|
'random_bytes',
|
||||||
|
'discovery_key',
|
||||||
|
]
|
||||||
|
|
||||||
# https://en.wikipedia.org/wiki/Merkle_tree#Second_preimage_attack
|
# https://en.wikipedia.org/wiki/Merkle_tree#Second_preimage_attack
|
||||||
LEAF_TYPE = bytes([0])
|
LEAF_TYPE = bytes([0])
|
||||||
PARENT_TYPE = bytes([1])
|
PARENT_TYPE = bytes([1])
|
||||||
|
Loading…
Reference in New Issue
Block a user