Implement key_pair, sign, and verify
This commit is contained in:
9
test/test_crypto.py
Normal file
9
test/test_crypto.py
Normal file
@ -0,0 +1,9 @@
|
||||
"""Cryptography primitives test module."""
|
||||
|
||||
from hypercore_crypto import key_pair
|
||||
|
||||
|
||||
def test_key_pair_length():
|
||||
public_key, secret_key = key_pair()
|
||||
assert len(public_key) == 32
|
||||
assert len(secret_key) == 64
|
Reference in New Issue
Block a user