ShardLock: A General Encryption Method Based on Dynamic Threshold Key Sharing and Collaborative Decryption
A general encryption method is disclosed. A long-term master key is split into threshold shares over GF(2^8), and each share is wrapped under a factor key derived from a participant's device or biometric characteristic and stored separately; the master key is never reconstructed at any single point. Each encryption randomly generates a one-time data encryption key (DEK), encrypts the data, then threshold-splits the DEK and distributes the shares alongside the ciphertext. For decryption, multiple participants satisfying an access structure locally unwrap their shares, and an aggregator recovers the DEK by interpolation without ever reconstructing the master key, so a single DEK compromise does not affect other ciphertexts. Shares are proactively refreshed per epoch: each party adds a random polynomial with zero constant term, changing every share while preserving the interpolated secret, which invalidates old shares. The access structure combines a weight threshold with per-role minimum counts, and key operations are recorded in a hash chain. The method is implemented in a single dependency-free kernel that runs on server, desktop, Web and mobile platforms via an injectable entropy source and a WebAssembly interface.
Authors
- Yuan Junsen
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24782890
- Primary Topic
- Cryptography and Data Security
- Type
- preprint