How to Encrypt and Decrypt Data using RSA in Java
A practical guide on how to encrypt and decrypt data using the RSA algorithm in Java. We will also see how we can generate an RSA key pair and convert it to and from Base64
A practical guide on how to encrypt and decrypt data using the RSA algorithm in Java. We will also see how we can generate an RSA key pair and convert it to and from Base64
This article shows how to create a Spring Boot app that requires API key for an endpoint using Spring Security. We also demonstrate how to combine this with other authentication mechanisms in the same codebase.
In life, very few things trump “I’ve done it before”, this is how to get a 5 years worth of experience in 3 and maximise your employment
In this article, we will examine how to generate HMAC signature for a given data or message in Java with an example using the HMAC-SHA256 algorithm
In this article, we are going to consider the differences between @Transactional and TransactionTemplate in managing database transactions in a SpringBoot application. We will also observe their different behaviours with exceptions
We will learn how to use Flyway to create database schema and even seed the database with data when our application is starting up for the first time
We will be looking at the request-validator library, which is able to compare the user input against a pre-defined set of rules like required,max,min
This is a comprehensive architectural guide on how to secure important APIs of your application including the signup, reset password and retry OTP API
Learn how to handle exceptions in a monolith Spring Boot application and return custom error pages. You’ll also learn how the default handling works
In this article, we are going to look at how to configure Spring boot to handle exceptions and customise the error responses