public class

Util

extends Object
java.lang.Object
   ↳ com.mongodb.util.Util

Class Overview

Misc utility helpers. Not sure what else to call the class

Summary

Public Constructors
Util()
Public Methods
static String hexMD5(byte[] data)
Produce hex representation of the MD5 digest of a byte array
static String hexMD5(ByteBuffer buf, int offset, int len)
static String toHex(byte[] b)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Util ()

Public Methods

public static String hexMD5 (byte[] data)

Produce hex representation of the MD5 digest of a byte array

Parameters
data bytes to digest
Returns
  • hex string of the MD5 digest

public static String hexMD5 (ByteBuffer buf, int offset, int len)

public static String toHex (byte[] b)