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.
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.