I'm using Apache DS with Spring LDAP for authentication and user management. Apache DS sends password fields as hashed byte arrays, so I need to decrypt it into String. I'm using MD5 hashing.
For example, here's the window that is used to enter password using Apache DS Studio:
(For the sake of demonstration, I'd like to tell the entered password which is 1)
Apache DS sends password fields as hashed byte arrays. When I try to get it using Spring LDAP like below, I got [B@66ca6254. I need to decrypt it and got the hex value of it which is c4ca4238a0b923820dcc509a6f75849b as it is shown above.