Hi,
You can use SHA to encrypt the password too.

Core java