python libsodium wrapper
Project description
This is a very simple wrapper around libsodium masquerading as nacl.
This wrapper requires a pre-installed libsodium, then it provides access to the following functions:
Constants:
crypto_box_NONCEBYTES crypto_box_PUBLICKEYBYTES crypto_box_SECRETKEYBYTES crypto_box_ZEROBYTES crypto_box_BOXZEROBYTES crypto_secretbox_KEYBYTES crypto_secretbox_NONCEBYTES crypto_secretbox_KEYBYTES crypto_secretbox_ZEROBYTES crypto_secretbox_BOXZEROBYTES crypto_sign_PUBLICKEYBYTES crypto_sign_SECRETKEYBYTES crypto_stream_KEYBYTES crypto_stream_NONCEBYTES crypto_generichash_BYTES crypto_scalarmult_curve25519_BYTES crypto_scalarmult_BYTES crypto_sign_BYTES
randombytes(l)
crypto_scalarmult_curve25519(n,p) crypto_scalarmult_curve25519_base(n)
crypto_generichash(m, k=’’, outlen=crypto_generichash_BYTES) crypto_generichash_init(outlen=crypto_generichash_BYTES, k=’’) crypto_generichash_update(state, m) crypto_generichash_final(state, outlen=crypto_generichash_BYTES)
crypto_box_keypair() crypto_box(msg, nonce, pk, sk) crypto_box_open(c, nonce, pk, sk)
crypto_secretbox(msg, nonce, k) crypto_secretbox_open(c, nonce, k)
crypto_sign_keypair() crypto_sign(m, sk) crypto_sign_open(sm, pk)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysodium-0.5-beta.tar.gz.
File metadata
- Download URL: pysodium-0.5-beta.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cd6e811e76a5985a897698f8b7bbda26bc0a50b3f57b16b98235f67753e516b
|
|
| MD5 |
497d1ea6058c616cfa5920048b448977
|
|
| BLAKE2b-256 |
8318343b00eac5a03fe7fbcf2aeefb7b5c61cec1238dfd9bda0e2bef18171910
|
File details
Details for the file pysodium-0.5_beta-py2.7.egg.
File metadata
- Download URL: pysodium-0.5_beta-py2.7.egg
- Upload date:
- Size: 20.6 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91ae7ecbcad4a6097c2a3f742a354e8b8b6962c1c616995e790edaf4e6e3a53a
|
|
| MD5 |
e7c0c9a9230044242d60dcb078efbef3
|
|
| BLAKE2b-256 |
a4a1b23f59bf6084faf30f59b5290479231c12afbe1468b9cead4f665c7f7195
|