Node:The HashFactory Class, Next:, Previous:The IMessageDigest Interface, Up:Message Digests

HashFactory Class

Message digest instances are created with the static factory method:

IMessageDigest getInstance (java.lang.String name) Function
Creates a message digest instance for the algorithm name, or null if there is no such algorithm.

The HashFactory class also defines the method:

java.util.Set getNames ( ) Function
Returns a set of the names (strings) of all available message digest implementations.