green-fox-academy / hotel-booking-user-service

0 stars 0 forks source link

Password store #29

Open vvarro opened 7 years ago

vvarro commented 7 years ago

Password store

The register endpoint should save the given user. The password should not be stored as plain text, rather it should be stored in an encrypted form. Use the bcrypt algorithm to encrypt the passwords. All the necessary keys should be stored as environment variables for the encryption. You can use the official bcrypt java library.