Published on Tue, 07 Nov 2006 00:58:10 -0500 Read: 2725 times
The generatePassword() method give you a random password.
Using SecureRandom algorithm, generate a random number and add it with any string as project_name for a temporary password. We can use this for generating a random/different kind of passwords. This can be used in Forgot password/ Reset
Filed in: Java Difficulty Level: Published on Fri, 17 Nov 2006 01:04:24 -0500 Read: 1897 times
Input a string , example "kiran"; the code will convert to byte. You can put the code in a function and pass parameter as string and return byte.
Filed in: Java Difficulty Level: