Tu-Varna-2019 / chatapp-server

masters-winter-project-java-network
GNU General Public License v3.0
1 stars 0 forks source link

Направи механизъм за криптиране на данните в транзит #32

Open IliyanKostov9 opened 9 months ago

IliyanKostov9 commented 9 months ago

Използвай методите SSLSocket

Flow:

  1. User encrypts the clear text password by using AES-256
  2. User transfers the encrypted password to the server
  3. Server decrypts the password into clear text
  4. Server creates unique salt and then appends it to the clear text password
  5. Server creates a hash by using SHA-256
  6. Server stores the hashed password to the database + salt (clear text)