From Previous post Now in this post I will use Encryption/ Decryption mechanism on password input password field using AES algorithm,
I am just adding UtilsSecure.java class and it has two methods;
1. Encrypt Method encrypt(String strToEncrypt) to encrypt the user given password to cipher text
2. Decrypt Method decrypt(String strToDecrypt) to decrypt the ciper text back to original password content.
Below code shows UtilsSecure.java class file
I am just adding UtilsSecure.java class and it has two methods;
1. Encrypt Method encrypt(String strToEncrypt) to encrypt the user given password to cipher text
2. Decrypt Method decrypt(String strToDecrypt) to decrypt the ciper text back to original password content.
Below code shows UtilsSecure.java class file
From the Java class file you can encrypt the password to cipher text and back to original password using decrypt the cipher text done by this below code snippet.
Output
thanks
ReplyDeletethankyou so much for your guidance sir , means a lot when you are going through a phase where work pressure hits you mentally and physically leaving just 2-3 for daily study, sigh. long way to go.
ReplyDeletejava training in chennai
java training in tambaram
aws training in chennai
aws training in tambaram
python training in chennai
python training in tambaram
selenium training in chennai
selenium training in tambaram
I believe there are many more pleasurable opportunities ahead for individuals that looked at your site. Keep sharing such informative informations.
ReplyDeleteweb designing training in chennai
web designing training in annanagar
digital marketing training in chennai
digital marketing training in annanagar
rpa training in chennai
rpa training in annanagar
tally training in chennai
tally training in annanagar
This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.
ReplyDeleteThank you for this blog..
sap training in chennai
sap training in omr
azure training in chennai
azure training in omr
cyber security course in chennai
cyber security course in omr
ethical hacking course in chennai
ethical hacking course in omr
I must appreciate you for providing such a valuable content for us. This is one amazing piece of article. Helped a lot in increasing my knowledge
ReplyDeleteangular js training in chennai
angular js training in porur
full stack training in chennai
full stack training in porur
php training in chennai
php training in porur
photoshop training in chennai
photoshop training in porur