recently a customer required us to encrypt database password in our Hibernate configuration XML file in order to match his organization security standards.
Of course we don't know costumer's database password and he currently sets this property in Hibernate configuration file every time he gets a new release.
The problem is we have to provide a solution to correctly encrypt database password according to WebRatio standard, so we need to know if we can use a Java class to encrypt this password, otherwise we'd need:
- Encryption algorithm used by WebRatio
- How to find or set the encryption key
is there a solution for this kind of situation?