### YamlMime:JavaType
uid: "com.azure.core.test.utils.MessageDigestUtils"
fullName: "com.azure.core.test.utils.MessageDigestUtils"
name: "MessageDigestUtils"
nameWithType: "MessageDigestUtils"
summary: "Utilities to compute hashes in tests."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **MessageDigestUtils**"
methods:
- uid: "com.azure.core.test.utils.MessageDigestUtils.md5(byte[])"
fullName: "com.azure.core.test.utils.MessageDigestUtils.md5(byte[] bytes)"
name: "md5(byte[] bytes)"
nameWithType: "MessageDigestUtils.md5(byte[] bytes)"
summary: "Returns base64 encoded MD5 of bytes."
modifiers:
- "static"
parameters:
- description: "bytes."
name: "bytes"
type: "[]"
syntax: "public static String md5(byte[] bytes)"
desc: "Returns base64 encoded MD5 of bytes."
returns:
description: "base64 encoded MD5 of bytes."
type: "String"
- uid: "com.azure.core.test.utils.MessageDigestUtils.md5(reactor.core.publisher.Flux)"
fullName: "com.azure.core.test.utils.MessageDigestUtils.md5(Flux bufferFlux)"
name: "md5(Flux bufferFlux)"
nameWithType: "MessageDigestUtils.md5(Flux bufferFlux)"
summary: "Returns base64 encoded MD5 of flux of byte buffers."
modifiers:
- "static"
parameters:
- description: "flux of byte buffers."
name: "bufferFlux"
type: "Flux<ByteBuffer>"
syntax: "public static Mono md5(Flux bufferFlux)"
desc: "Returns base64 encoded MD5 of flux of byte buffers."
returns:
description: "Mono that emits base64 encoded MD5 of bytes."
type: "Mono<String>"
type: "class"
desc: "Utilities to compute hashes in tests."
metadata: {}
package: "com.azure.core.test.utils"
artifact: com.azure:azure-core-test:1.26.2