Protecting data is a common concern amongst users as well as developers.  No one wants to find out that they've been hacked and that their password data was exposed.  In the unlikely or unfortunate event that this happens, you want to make sure your password data has an extra level of protection on it.  This means that you shouldn't be storing your password data as plain text in your database.

In the following video tutorial, we're going to see how to hash passwords using Java and BCrypt before storing them in Couchbase.

Hashing passwords adds very little to the extra effort requirement, but the data becomes much more secure.  It is good practice for any organization.

If you'd like to learn more about the Couchbase Java SDK, check out the developer portal.


Posted by Nic Raboy, Developer Advocate, Couchbase

Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.

Leave a reply