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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file hypercore-crypto-0.0.1a4.tar.gz.

File metadata

  • Download URL: hypercore-crypto-0.0.1a4.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.8.0 Linux/4.9.0-12-amd64

File hashes

Hashes for hypercore-crypto-0.0.1a4.tar.gz
Algorithm Hash digest
SHA256 47440973a34c3d17425e512a2dfee6d78338686215fadf40cb797eba2801fba2
MD5 98b1f2a727cf46e9a0b0584767661cd0
BLAKE2b-256 67a09ab1fc82f61ac12b2852523f9b4cf0fa826037df8900d20069f18bc74c7c

See more details on using hashes here.

File details

Details for the file hypercore_crypto-0.0.1a4-py3-none-any.whl.

File metadata

File hashes

Hashes for hypercore_crypto-0.0.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 a5d4449550c245fbee4245d847802c126e69e079c66199496efb273dbe1a935f
MD5 d6c4585d0354ba518f1061bc17df7397
BLAKE2b-256 352884407952b59569791f0e30fae0f4c187bea35c0dd3f2bda83099e4d0111b

See more details on using hashes here.

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