Loops are used to iterate items on a list or to traverse a certain part of the program several times as long as a condition is satisfied.
[Read More]How to generate RSA keys with Java
In Java, we can use native libraries to create RSA public and private keys. We will create, store, and load public and private keys in this example.
[Read More]How to Encrypt and Decrypt using RSA keys with Java
In this article we are going to use public and private RSA keys for encryption and decryption.
[Read More]Change Intellij terminal to gitbash
If you usually use the gitbash console in Windows and you prefer to use it also in your Intellij you can change the terminal easily.
[Read More]How to change the time zone of a date
Let’s examine how to change the time zone of a date in java in different ways.
How to change the timezone of a java.util.Date using SimpleDateFormat We must be clear that the Date class in Java does not have a time zone.
java.util.Date represents the number of seconds from midnight January 1, 1970 to zero hours (UTC time).
This means, java.util.Date will always return the time for the time zone that is by default defined for the system.
[Read More]
How to install Maven on Windows
Installing Maven on Windows requires few steps. Just download it in some folder, set it in the path and define the environment variable M2_HOME
Read this post with the steps to install Maven
[Read More]