Official Python SDK for privacy-preserving digital signatures and data anchoring
Project description
Provncloud SDK (Python)
Official Python SDK for privacy-preserving digital signatures and data anchoring.
Provncloud SDK allows you to cryptographically sign data and anchor it to blockchain networks like Arweave AO and Solana without revealing the raw content. Built with a high-performance Rust core (via PyO3), it ensures strict cryptographic standards and cross-platform interoperability.
🚀 Installation
pip install provn-sdk
💻 Usage
from provn_sdk import ProvnSDK
import time
# 1. Initialize the SDK
sdk = ProvnSDK()
# 2. Generate a new Ed25519 keypair
keys = sdk.generate_keypair()
# 3. Create a claim with current timestamp
timestamp = int(time.time())
claim = sdk.create_claim("AI Model Metadata v2.4", timestamp)
# 4. Sign the claim
signed = sdk.sign_claim(claim, keys['private_key'])
# 5. Verify (Offline)
is_valid = sdk.verify_claim(signed)
print(f"Signature valid: {is_valid}")
🛠 Features
- Rust-Powered: High-performance cryptographic operations using native bindings.
- Deterministic: Implements JCS (RFC 8785) for cross-language signature compatibility.
- Payload Safety: Enforces 2KB limits on claim data to prevent broadcast bloat.
- Easy Integration: Simple object-oriented API for key management and anchoring.
📚 Resources
⚖️ License
MIT License. See LICENSE for details.
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 provn_sdk-0.3.2.tar.gz.
File metadata
- Download URL: provn_sdk-0.3.2.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33b70974ab22a2ebdd8c89f182c6c61a9803a964957a9e00aeccb52b8fc07683
|
|
| MD5 |
6930a0b5b59c289b9271e12cec7f5def
|
|
| BLAKE2b-256 |
dcae3615bf2bb4d4ae17eee753c833838b97ced0b372f227c52bd6d943a9303d
|
File details
Details for the file provn_sdk-0.3.2-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: provn_sdk-0.3.2-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 335.7 kB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06351f6a8c5d63b9068aab10ea7cffd8c0706f8c3013bf02858d1abeafb26928
|
|
| MD5 |
46f1d7ad3a92ca321601b768fc4b3584
|
|
| BLAKE2b-256 |
15d4b4a4d658de931a42a2941fa555c0986a5eb26f3262d61ef5ede1632f661e
|