Can you please tell me how to encrypt and decrypt a password?
I want to use it in my project(website).

Please help.
Thank you.

Either you can come up with your own encryption algorythm or use one of many. For example BouncyCastle. If you google for tutorials you find many

PS: Please do not send PM's to people asking for help, it is against one of the forums rules Keep It On The Site

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.