Documentation Contents

# Description of Figure MD5 Message Digest Implementation / Options for Requesting an MD5 Message Digest Implementation

Link to figure MD5 Message Digest Implementation in Java Cryptography Architecture (JCA) Reference Guide.

Link to figure Options for Requesting an MD5 Message Digest Implementation in How to Implement a Provider.

This figure consists of two diagrams. The diagram to the left represents an application that requests and MD5 algorithm implementation without specifying a provider name. The diagram to the right represents an application that requests and MD5 algorithm implementation from a specific provider:

## Without Specifying Provider Name

This figure consists of five cylinders arranged in three rows. These cylinders, from top to bottom, are labeled as follows:

- Application
- Provider Framework
- This row contains three cylinders. Each cylinder in this row has an arrow pointing up towards the cylinder above it (Provider Framework):
  - ProviderA: Message Digest SHA-1 SHA-256 (this cylinder has an `X` on it)
  - ProviderB: Message Digest MD5 SHA-512 (this cylinder has a check mark on it)
  - ProviderC: Message Digest MD5 SHA-256

An arrow labeled `MessageDigest_getInstance("MD5")` with an arrow head labeled "MDS MessageDigest from ProviderB" starts from the Application cylinder and passes through the following objects:

- Provider Framework cylinder
- ProviderA arrow
- ProviderB arrow
- Provider Framework cylinder (again)

The arrow head points to the Application cylinder.

## From Specific Provider

This figure consists of five cylinders arranged in three rows. These cylinders, from top to bottom, are labeled as follows:

- Application
- Provider Framework
- This row contains three cylinders. Each cylinder in this row has an arrow pointing up towards the cylinder above it (Provider Framework):
  - ProviderA: Message Digest SHA-1 SHA-256
  - ProviderB: Message Digest MD5 SHA-512
  - ProviderC: Message Digest MD5 SHA-256 (this cylinder has a check mark on it)

An arrow labeled `MessageDigest_getInstance("MD5", "ProviderC")` with an arrow head labeled "MDS MessageDigest from ProviderC" starts from the Application cylinder and passes through the following objects:

- Provider Framework cylinder
- ProviderC arrow
- Provider Framework cylinder (again)

The arrow head points to the Application cylinder.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.
Contact Us