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