Skip to main content

Cryptography primitives for Hypercore

Project description


Build Status

Cryptography primitives for Hypercore


$ pip install hypercore-crypto


from hypercore_crypto import data, key_pair
from pysodium import crypto_sign_PUBLICKEYBYTES

public_key, secret_key = key_pair()
assert len(public_key) == crypto_sign_PUBLICKEYBYTES
print(data(b"hello world").hex())

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hypercore-crypto-0.0.1a4.tar.gz (15.6 kB view hashes)

Uploaded source

Built Distribution

hypercore_crypto-0.0.1a4-py3-none-any.whl (15.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page