Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

luk's avatar
Level 1

php end to end encrypted chat app

I want to implement a text chat app that users can send and receive messages and the message which stored in the data base in encrypted and when the receiver wants to see it decrypt the message and see it .......and i want to do it only using PHP and java script with out Frame works .....any one who can help me please !!!!

0 likes
19 replies
luk's avatar
Level 1

@vincent15000 So what is your suggestion for implement this text chat app using PHP with out any framework ?

1 like
luk's avatar
Level 1

@vincent15000 sorry I changed the category to Assistance ....and what I confused is here how can i create the public and private key to each user and how can I encrypt and decrypt the message using those keys ?

1 like
luk's avatar
Level 1

@vincent15000 yeah i want to that in order to encrypt and decrypt the message that are sending for each user

1 like
luk's avatar
Level 1

@Sinnbeck yeah I was searching but i didn't get it yet! do you have any suggestion please?

1 like
luk's avatar
Level 1

@vincent15000 Ok but then after i generate the public/private key for each user how can i encrypt /decrypt the message in the database

1 like
Sinnbeck's avatar

I assume this is a project for learning and not something that you are planning to use for a real product? Just curious :)

2 likes
sr57's avatar

@vincent15000

I first thought it was a joke ... I didn't know ;).

Not wrong and you learned st :-)

Please or to participate in this conversation.