How to Encrypt and Decrypt files in Java 10

Overview

In this tutorial, we show you how to encrypt and decrypt a file using AES in Java 10 Example. We’ll encrypt the text.txt file using your secret key with the Advanced Encryption Standard (AES) as the symmetric encryption algorithm. Then we decrypt this file using the same secret key.
Java Convert String to int - How to Convert String to int in java?

Overview

In this tutorial, we show you how to convert String to Int in java. 3 ways to convert String we can use the Integer.parseInt() method or the Integer.valueOf() method to convert String into Integer object. Alternatively, we can use org.apache.commons.lang.math.NumberUtils.toInt() method in commons-lang-2.6.jar lib.
Java Compare Two Dates - How to compare two dates in Java

Overview

In this tutorial, we show you how to compare dates in Java. There are 4 ways to compare two dates in Java: java.util.Date.compareTo() method, Calender.before() (Calender.after() and Calender.equals()) method, Date.before() (Date.after() and Date.equals()), LocalDate.isAfter() (LocalDate.isBefore(), LocalDate.isEqual()) method.
Spring Boot Tutorial Spring MVC Registration, Login Example using Hibernate + Mysql + Bootstrap 4

Overview

In this tutorial, we show you how to develop a simple Spring Boot application for registration, login with Spring MVC, Hibernate, Mysql Database and the Thymeleaf java library as a template engine to display data on front end with Bootstrap 4 responsive.
Follow the steps mentioned below to develop the Spring 4 Login Example.