I am developing an java application for for login autentication form, I have pre saved username and password in my database. When admin enter his credetials, it validates to my DB and gives access to actual application
Now, my application is used by admin and database is managed by DBA. and I have a database named with USERS in which I saved admin credentials.
when DBA tries to access USERS database, so that he can easily get access admin application using credentials in USERS database.
For all this, I want to encrypt admin credentials. I wrote a program where my admin application automatically creates USERS database and its credentials in the begining itself and then it asks me to enter credentials.
How could I encrypt admin credentials during initialization..Please help.