Questions tagged [end-to-end-encryption]

End-to-end encryption or E2EE is a system of communication where data is encrypted and where only the sender of the datate and the reveiver of the data can decrypte and read the actual content of the data.

29 questions
1
vote
0 answers

Is there any library for react native to implement end to end encryption in chat like Signal protocol?

I'm trying to build a real time chat app with react native, nodejs and mongodb. I already built the regular chat app but I need to add end to end encryption (E2EE). I tried to use libsignal-protocol javascript library (libsignal-protocol) built by…
0
votes
0 answers

Man-in-the-middle attack by e2ee chat application owner

Is it possible that if some popular end to end encrypted chat application owner want to perform a Man-in-the-middle attack as they have full control over the user data and server can they perform it easily as they can change users public key with…
0
votes
0 answers

How to Stored Data inside Hardware keystore backed JKS and retrive it on requirement

We are Currently working on end to end encryptions which are both forward and backward secured. Currently we are using BountyCastle to create 10 RSA keys dynamically but how can we store these keys inside HSM provided by android devices
0
votes
0 answers

How to implement End to End encryption on Firebase push notification

I have to implement end-to-end encryption with firebase push notifications on React and React Native Apps. What I have in mind Encrypt messages from the backend and sent them to firebase On the front end, we will decrypt the message with the shared…
0
votes
1 answer

NodeJs encrypt message using authentication token

My goal is to encrypt end-to-end messaging app messages. I am wondering if it's possible to encrypt/decrypt messages using token authentication libraries such as jsonwebtoken? Is it a good approach or there are is dedicated library/algorithm for…
spatak
  • 1,039
  • 1
  • 14
  • 25
0
votes
1 answer

How to prevent MITM attacks when implementing E2EE?

I'm working on a project where two clients can send files to each other via web sockets (using Socket.IO). Each chunk is encrypted with AES. Currently, the clients connect to the server, they each generate an RSA public/private key pair on their…
0
votes
3 answers

End-to-end encryption: How can a public key and a private key be different, yet compatible?

Since the public key is used to encrypt the message and the private key is used to decrypt the message, then how is it possible for the private key and the public key to be compatible with each other? How can a green key unlock a red-locked…
0
votes
2 answers

Generate Mnemonic Phrase from window.crpyto.subtle.generateKey

I am developing and web based end to end encrypted chat website. For that I am generating private keys using the window.crypto.subtle.generateKey function provided in the web crypto api. I want the user to remember or store a mnemonic phrase like we…
0
votes
1 answer

Isn't end to end encryption basically just client side encryption?

New to cryptography, and trying to get a high level understanding of e2ee. My current grasp of it is that all of the logic required to implement it can (should?) be done on the front end and the only sort of interaction that changes with the server…
0
votes
1 answer

Twilio SMS End-to-End-Encryption

Is it possible to encrypt an SMS message sent to Twilio? For example, if the client (say iOS device) wants to send a sensitive SMS message to my Twilio application is there a way to encrypt the message on the client before reaching the carrier and…
Nic
  • 31
  • 4
0
votes
0 answers

How can I read messages from another device in EE2E

How can I read messages between me and other people if I connect to my account from another device(mobile, other web browser) I don't have the private key in other device? In my server I just store the public key of each user also I store the…
0
votes
2 answers

How to get the type of a serialized ciphertext message?

I'm using libsignal-protocol-java according to Signal's Documentation to implement end-to-end encryption in a messaging app. Let's say Alice sends Bob a (pairwise) serialized ciphertext message. How does Bob know how to deserialize it? Doesn't he…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
0
votes
1 answer

Are Images, videos encrypted in whatsapp?

Let me start by saying that i do not have any knowledge of cryptology. My question regarding images etc in whatsapp arose because a developer friend said that its the messages which are encrypted. Images, video files which get saved in a whatsapp…
BSMitra
  • 19
  • 4
0
votes
1 answer

Can many devices in the same group share the same sender key distribution message?

This is a specific question about implementing group messaging via the Signal Protocol. After device 1 has sent a message encrypted with a sender key distribution message (SKDM) to many recipient devices, can each of the recipient devices use the…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
1
2