Can u suggests me some powerfull but understandable java code for encrypting and decrypting password.The password should be encrypted and stored into the database and can be retrived ,decrypted

Recommended Answers

All 2 Replies

Can u suggests me some powerfull but understandable java code for encrypting and decrypting password.The password should be encrypted and stored into the database and can be retrived ,decrypted

Package java.security has set of classes for your purpose. Especially, java.security.MessageDigest class with SHA or MD5 algorithm are used to store password in file or database.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.