About message content encryption

What encryption algorithms are used in channel encryption? RSA, ECDHE, AES256_CBC, SHA256, SHA1, etc.

1.The client uses the user mnemonic to generate a set of ECDSE public and private key pairs through custom Path,

2.The client uploads its public key to the server, and the private key is stored locally,

3.The user logs in to get the update of all friends' information, including their public keys,

4.The user establishes a session with a friend, and the user generates a random ShareKey locally,

5.The user who establishes the session encrypts the local ShareKey with the friend's public key and saves it in the session,

6.The friend gets the message and gets the encrypted ShareKey ciphertext in the session,

7.The friend decrypts the ShareKey ciphertext with the local private key and obtains the ShareKey,

8.Decrypt the message ciphertext with ShareKey to get the message.

Last updated