can some one show me a code and how to encrypt password using the java.crypto package. how do i implement a provider. what is the best algorithm to use.