How salonishukla-cloud/crypto-doc-26237 works
The product is an offline confidential-document distribution and leak-attribution platform. Its documented user journey seals a document for recipients, decrypts it locally, embeds a recipient-bound watermark, records a signed event in an offline ledger, and later verifies a leak to produce an evidence report. The README supports the end-to-end flow; unsampled workflow, ledger, and UI implementation details limit claims about their internal calls.
Main entry points: verification.rs Leak Verification · workflow.rs Workflow Orchestrator · encryption.rs Document Encryption · signing.rs Event Signing
Components 23
Document Distribution
- Document Encryption
encryption/src/encryption.rs - Recipient Keys
encryption/src/key_manager.rs - Encrypted Package
encryption/src/package.rs - Document Decryption
encryption/src/decryption.rs
Forensic Watermarking
- Watermark Generation
watermark/src/generator.rs - Watermark Embedding
watermark/src/embedder.rs - Watermark Extraction
watermark/src/extractor.rs - Watermark Validation
watermark/src/validator.rs
Post-Quantum Identity
- Decryption Event
pqcrypto/src/event.rs - Canonical Serialization
pqcrypto/src/serialization.rs - Signing Identity
pqcrypto/src/identity.rs - Event Signing
pqcrypto/src/signing.rs - Signature Verification
pqcrypto/src/verification.rs - Shared Event Schema
shared/models/event.rs
Offline Ledger
- Permissioned Ledger
ledger/client/dlt_client.rs - Ledger Lookup
ledger/queries/ledger_index.rs
Forensic Station
- Workflow Orchestrator
integration/workflow.rs - Leak Verification
integration/verification.rs - Evidence Report
integration/report.rs - Forensic Station UI
integration/ui/app.js
Other components
- Sender
- Recipient
- Investigator
Connections 24
- Sender → Document Encryption: submits document
README.md - Document Encryption → Recipient Keys: protects recipient keys
README.md - Document Encryption → Encrypted Package: seals package
README.md - Encrypted Package → Recipient: delivers package
README.md - Recipient → Workflow Orchestrator: requests decryption
README.md - Workflow Orchestrator → Document Decryption: requests decryption
README.md - Document Decryption → Watermark Generation: generates watermark
README.md - Watermark Generation → Watermark Embedding: provides payload
README.md - Watermark Embedding → Recipient: returns watermarked PDF
README.md - Workflow Orchestrator → Decryption Event: creates event
README.md - Decryption Event → Shared Event Schema: uses event schema
README.md - Workflow Orchestrator → Event Signing: signs event
README.md - Event Signing → Canonical Serialization: signs canonical bytes
pqcrypto/src/signing.rs - Signing Identity → Event Signing: provides signing key
pqcrypto/src/signing.rs - Workflow Orchestrator → Permissioned Ledger: ingests signed event
README.md - Investigator → Leak Verification: submits leaked document
README.md - Leak Verification → Watermark Extraction: extracts watermark
README.md - Leak Verification → Ledger Lookup: queries watermark hash
README.md - Ledger Lookup → Permissioned Ledger: retrieves event receipt
README.md - Leak Verification → Signature Verification: verifies signature
README.md - Leak Verification → Watermark Validation: checks watermark hash
README.md - Leak Verification → Evidence Report: generates evidence
README.md - Evidence Report → Investigator: returns report
README.md - Forensic Station UI → Workflow Orchestrator: dispatches workflow