Is it possible to Hash using bcrypt in java and again unhash it? Is it even possible? I was trying something new but I do not know anything about Unhashing (if it’s possible). Can someone give me an example of somekind if it’s possible?
Is there a hashing algorithm which is reversible if the key is known?
If you’re talking about overriding hashCode(), if your object can have more than 2^32 states then it’s impossible to make any reversible hash. There are only 2^32 possible hash values (because hashCode() returns int), so only 2^32 different states can be represented.