Answer the question
In order to leave comments, you need to log in
How to make encrypted chat in php?
Hello,
I was thinking of encrypting user messages using the account password as a key. But what if I have 10 users in the chat?
Messages stored in the database must be encrypted. Messages cannot be stored in clear text.
Answer the question
In order to leave comments, you need to log in
This means that you need to encrypt the data with the key of each user in the group (or chat, if the group is one common) and send the encrypted message to him. Or decrypt it on the server, encrypt it with the keys of other participants and send it. There is no third.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question