I want to know which would be the best java encryption type I can use to secure my application authentication details. In my application I have to use credentials for database and one application. I am putting it in one properties file.
db_username = abc
db_password = password
If I dont want my password to be visible in properties file. But I cant hardcode it in my application. Its a command prompt application and run using script which runs it automatically. What are the available encryption methods I can use?
Thanks..