Secure Data Sharing
Share data between organizations with military-grade encryption. Data is encrypted before leaving your node and can only be decrypted by authorized recipients.
How Data Sharing Works
A secure, auditable process from encryption to delivery.
Encrypt
Data is encrypted locally using Fernet (AES-128-CBC) before leaving your node.
Hash
A unique SHA-256 hash is generated for verification and blockchain recording.
Authorize
Recipient permissions are verified. Optional token payment is processed.
Transfer
Encrypted data is transferred via P2P network to the recipient node.
Record
The operation is recorded on blockchain for immutable compliance audit trail.
Fernet Encryption
DataMgmt Node uses Fernet symmetric encryption, providing authenticated encryption with strong security guarantees.
AES-128-CBC Encryption
Industry-standard symmetric encryption algorithm used by governments and enterprises worldwide.
PBKDF2 Key Derivation
480,000 iterations with SHA-256 for deriving encryption keys from passwords, exceeding OWASP recommendations.
HMAC Authentication
SHA-256 HMAC ensures data integrity and authenticity, detecting any tampering attempts.
Key Rotation Support
Versioned keys allow rotation without losing access to previously encrypted data.
# Share encrypted data
POST /share_data
{
"data": "Sensitive enterprise data...",
"recipient": "node_b2c3d4e5f6a1",
"encrypt": true,
"require_payment": false
}
# Response
{
"status": "shared",
"data_hash": "sha256:7f83b1657ff1fc...",
"encryption": {
"algorithm": "fernet",
"key_version": 3
},
"compliance": {
"tx_hash": "0x8f7a2b...",
"recorded": true
}
}
# Retrieve data (as recipient)
GET /data/sha256:7f83b1657ff1fc
{
"data": "Sensitive enterprise data...",
"sender": "node_a1b2c3d4e5f6",
"timestamp": "2026-04-14T10:30:00Z",
"verified": true
} Access Control
Fine-grained permissions ensure only authorized parties can access your data.
Node-Based
Grant access to specific node IDs. Only nodes with matching cryptographic identities can decrypt data.
Token-Gated
Require token payment for access. Set per-access pricing for data monetization.
Time-Limited
Set expiration times on shared data. Access automatically revokes after the specified period.
Data Sharing API
Simple REST API for all data sharing operations.
/share_data Share encrypted data with a recipient node. Supports optional token payment requirement.
View request body
{
"data": "string",
"recipient": "node_id",
"encrypt": true,
"require_payment": false,
"price": 0,
"expires_at": "2026-04-15T10:30:00Z"
} /data/{hash} Retrieve shared data by its hash. Automatically decrypts if you are the authorized recipient.
/verify_data/{hash} Verify that data was shared and recorded on blockchain. Returns compliance proof.
/data/list List all data you have shared or received. Filter by date range or recipient.
Start Sharing Data Securely
Deploy a node and share your first encrypted data in minutes.