random

In this Java tutorial, I am going to share with you different ways how to generate a random string of characters. You will learn to generate the following types of random Strings of characters: alpha-numeric String of characters of any length or of a specific length, Letters only, Numbers only. I hope you will find…

Read More Random String of Characters in Java. Different Examples.

In this tutorial, we will generate a random alpha-numeric string of characters, which can be used as a user password. Password Requirements When generating passwords, it’s important to set requirements that make them strong and difficult to guess. Here are some guidelines to follow when creating password requirements: Length The length of a password is…

Read More Generate Secure Password in Java

In this blog post I am going to share with you a way to create a RESTful Web Service to: Create a new user profile, Generate and save in database a user secure user password rather than an actual password provided by user, Return back as a response a custom user profile object(JSON) with information that…

Read More RESTful Web Service to Save a New User in Database