Where to store password for key store ?
I have primary keys etc stored in java key store and I have hard coded the password for keystore for now but I am thinking to store that password in text file in encrypted form. The architect of my team does not want to store password for keystore in database so now I need two way hashing algo. to store password in text file and then read it back at server start.
Any idea from where I can get two way hashing algo in java ?
Or are there any other better means to store password for key store.

