Next: , Previous: The IMessageDigest Interface, Up: Message Digests


6.2 HashFactory Class

Message digest instances are created with the static factory method:

— Function: IMessageDigest getInstance (java.lang.String name)

Creates a message digest instance for the algorithm name, or null if there is no such algorithm.

The HashFactory class also defines the method:

— Function: java.util.Set getNames ( )

Returns a set of the names (strings) of all available message digest implementations.