eklem / otp-encryption-toy

Toy for kids to encrypt/decrypt messages with one time pads.
MIT License
0 stars 0 forks source link

Store OTPs per user #6

Open eklem opened 2 years ago

eklem commented 2 years ago

Add a user level. Encrypt/decrypt per user. Not sure how to do this on near field communication.

Maybe like this:

Or maybe the NFC has some unique ID that we should use to ID users.

eklem commented 2 years ago

One user combo ID and one message ID. The user combo ID doesn't need to be the same each time since both it and the message ID will be sent in clear text every time.

eklem commented 2 years ago

For the sender to choose the correct receiver (correct user combo ID), the keys needs to have a nick added to it.

eklem commented 1 year ago

Need a group name for the keys (to be stored in indexedDB). And then when dsitributing keys, how many in that group (minimum 2)

So when encrypting a message, you choose a group for your message, get an input box, add your message and get an encrypted version to share in a chat or Facebook, Twitter, email etc.