We are working on making our product FIPS complaint and we are using hibernate to connect to DB. We are using hibernate annotations to describe table schema. In one of our tables we have defined a table level unique constraint containing multiple columns. When we ran our product in FIPS mode, we noticed that the unique key constraint generation process uses MD5 digest algorithm to generate the constraint name. MD5 is not allowed in FIPS mode. This is causing schema creation to fail and the product does not work. We are using hibernate version 4.2.2. Is there a way to configure hibernate to use SHA-256 algorithm. On the same lines, if hibernate is using any encryption mechanisms, is there a way to specify custom encryption algorithms?
|