This is a simple tool for sharing secrets safely with multiple people.
There are scenarios where having only 1 key to decrypt a message is not sufficient and at the same time splitting the keys in half might pose risk of loosing such a key.
For example, you want to encrypt a message and give the decryption key to your family members. You want to make sure that if one of them loses the key, the message is still accessible. But you don't want to have to collect all the keys every time you want to decrypt the message and at the same time you don't want to have to trust any single person with the key.
The code is licenced under MIT licence. You can find the code on GitHub.
Here are some examples of how this tool can be used.
Imagine you have a secret that you want to share with your family, but only after you die. You can split the secret into 3 pieces, and give each piece to a different family member. When you die, your family can scan the QR codes and reveal the secret.
In a larger company you can ensure that certain high value information (e.g. key to unlock the company's BTC wallet) is accessed only when majority of board members aggree.
You can create multiple decryption keys and allow redundancy in case one of the keys gets lost
Obviously since it is safe enough you can have 2 people confirmation while launching nuclear strike.
In order to safely split your secret into multiple parts, follow these steps.
The keys are generated randomly and are not stored on the server. Transfer them safely using e2e encryption. From here on onwards their ways should be separate.
To decrypt the message you have 2 ways.
Use your mobile phone on available codes and after all are scanned tap decrypt.
Every time you scan a code it this page opens and stores the code in your browser. Once you have enough codes scanned (threshold) you can press decrypt to get the message.
1. Enter the encrypted message