Skip to content

Commit

Permalink
Update DESIGN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
VikramShenoy97 authored Apr 14, 2021
1 parent ef45abf commit 12f30bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@
8) ChatCrypto.ts
>• Added this file that handles the encryption and decryption of private and proximity messages
>
>• Makes use of AES encryption as the encryption algorithm
>
>• For encryption, a random key is generated which is used to encrypt the message. The key is then concatenated with a key identifier, and the entity as a whole is encrypted using the receiving players player IDs. The encrypted entity is stored in the secretkey set of the payload.
>
>• For decryption, the client uses their ID to decrypt the entities in the secretkey set from the payload. When the secretkey identifier is found, the secretkey from the decrypted entity is extracted and used to decrypt the message.
>
>• This strategy of encryption, allows encryption of messages using multiple keys and decryption using any one of those keys.
9) Dependencies Added
Expand Down

0 comments on commit 12f30bc

Please sign in to comment.