Cryptography primitives for Hypercore
Project description
hypercore-crypto
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for hypercore_crypto-0.0.1a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5d4449550c245fbee4245d847802c126e69e079c66199496efb273dbe1a935f |
|
MD5 | d6c4585d0354ba518f1061bc17df7397 |
|
BLAKE2b-256 | 352884407952b59569791f0e30fae0f4c187bea35c0dd3f2bda83099e4d0111b |