Storing Password Data Safely with Java and Spring Security BCrypt

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.

Share this article
Get Couchbase blog updates in your inbox
This field is required.

Author

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 comment

Ready to get Started with Couchbase Capella?

Start building

Check out our developer portal to explore NoSQL, browse resources, and get started with tutorials.

Use Capella free

Get hands-on with Couchbase in just a few clicks. Capella DBaaS is the easiest and fastest way to get started.

Get in touch

Want to learn more about Couchbase offerings? Let us help.