initial
This commit is contained in:
commit
74ae93a96e
1 changed files with 94691 additions and 0 deletions
9
joplin notion extension/Web Development/Github/2FA.md
Normal file
9
joplin notion extension/Web Development/Github/2FA.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
- https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/about-mandatory-two-factor-authentication
|
||||
|
||||
|
||||
I have to make a E2E chat application where users can create a room and invite others. RSA can be used to send text messages easily.
|
||||
|
||||
To send message from user A to users B,C,D and E i need to encrypt my message 4 times for different users using public key of B,C,D and E and these encrypted version of messages to them. Its not a big deal for text.
|
||||
But if i have to encrypt larger files using RSA then i have to make encrypted version of files 4 times for different 4 users and it would be much slower if there are like 100s of users. So a smart way is to instead of encrypting files using RSA, we can encrypt using any symmetric encryption then encrypt the keys using RSA and send it
|
||||
|
||||
Users will get different versions of keys but only 1 encrypted version of that file
|
||||
Loading…
Reference in a new issue