Skip to main content

Cryptography primitives for Hypercore

Project description

hypercore-crypto

Build Status

Cryptography primitives for Hypercore

Install

$ pip install hypercore-crypto

Example

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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page