Hello,

I would like to ask if there is a way how to decode hash parameters
from a hash string. For example for bcrypt. I know that I can use
BCryptProvider and there is a method fromString that returns a
BCryptHash class. But the BCryphHash isn't public class. Also
BCryptProvider changes a signature of method
Hash fromString(String string);
to
 public BCryptHash generate(HashRequest hashRequest)

So it exports non accessible class via public method and for example
this code cannot be compiled :
        BCryptProvider fff = new BCryptProvider();
        var hash2 = fff.fromString("aaa");
        System.out.println(hash2.toString());

Is there any technical reason why the BCryptHash class isn't
accessible from anywhere?

best regards

Jakub Herkel

Reply via email to