public final class com.mongodb.internal.HexUtils
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.mongodb.internal.HexUtils
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.HexUtils this
         0: .line 26
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.mongodb.internal.HexUtils this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/HexUtils;

  public static java.lang.String toHex(byte[]);
    descriptor: ([B)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=7, args_size=1
        start local 0 // byte[] bytes
         0: .line 34
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* sb */
        start local 1 // java.lang.StringBuilder sb
         1: .line 35
            aload 0 /* bytes */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 8
      StackMap locals: byte[] java.lang.StringBuilder top int int byte[]
      StackMap stack:
         2: aload 5
            iload 3
            baload
            istore 2 /* b */
        start local 2 // byte b
         3: .line 36
            sipush 255
            iload 2 /* b */
            iand
            invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
            astore 6 /* s */
        start local 6 // java.lang.String s
         4: .line 38
            aload 6 /* s */
            invokevirtual java.lang.String.length:()I
            iconst_2
            if_icmpge 6
         5: .line 39
            aload 1 /* sb */
            ldc "0"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         6: .line 41
      StackMap locals: byte[] java.lang.StringBuilder int int int byte[] java.lang.String
      StackMap stack:
            aload 1 /* sb */
            aload 6 /* s */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        end local 6 // java.lang.String s
        end local 2 // byte b
         7: .line 35
            iinc 3 1
      StackMap locals: byte[] java.lang.StringBuilder top int int byte[]
      StackMap stack:
         8: iload 3
            iload 4
            if_icmplt 2
         9: .line 43
            aload 1 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuilder sb
        end local 0 // byte[] bytes
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0  bytes  [B
            1   10     1     sb  Ljava/lang/StringBuilder;
            3    7     2      b  B
            4    7     6      s  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      bytes  final

  public static java.lang.String hexMD5(byte[]);
    descriptor: ([B)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // byte[] data
         0: .line 54
            ldc "MD5"
            invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
            astore 1 /* md5 */
        start local 1 // java.security.MessageDigest md5
         1: .line 56
            aload 1 /* md5 */
            invokevirtual java.security.MessageDigest.reset:()V
         2: .line 57
            aload 1 /* md5 */
            aload 0 /* data */
            invokevirtual java.security.MessageDigest.update:([B)V
         3: .line 58
            aload 1 /* md5 */
            invokevirtual java.security.MessageDigest.digest:()[B
            astore 2 /* digest */
        start local 2 // byte[] digest
         4: .line 60
            aload 2 /* digest */
            invokestatic com.mongodb.internal.HexUtils.toHex:([B)Ljava/lang/String;
         5: areturn
        end local 2 // byte[] digest
        end local 1 // java.security.MessageDigest md5
         6: .line 61
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
            pop
         7: .line 62
            new java.lang.RuntimeException
            dup
            ldc "Error - this implementation of Java doesn't support MD5."
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // byte[] data
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    data  [B
            1    6     1     md5  Ljava/security/MessageDigest;
            4    6     2  digest  [B
      Exception table:
        from    to  target  type
           0     5       6  Class java.security.NoSuchAlgorithmException
    MethodParameters:
      Name  Flags
      data  final

  public static java.lang.String hexMD5(java.nio.ByteBuffer, int, int);
    descriptor: (Ljava/nio/ByteBuffer;II)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // java.nio.ByteBuffer buf
        start local 1 // int offset
        start local 2 // int len
         0: .line 75
            iload 2 /* len */
            newarray 8
            astore 3 /* b */
        start local 3 // byte[] b
         1: .line 76
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         2: goto 5
         3: .line 77
      StackMap locals: byte[] int
      StackMap stack:
            aload 3 /* b */
            iload 4 /* i */
            aload 0 /* buf */
            iload 1 /* offset */
            iload 4 /* i */
            iadd
            invokevirtual java.nio.ByteBuffer.get:(I)B
            bastore
         4: .line 76
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 4 /* i */
            iload 2 /* len */
            if_icmplt 3
        end local 4 // int i
         6: .line 80
            aload 3 /* b */
            invokestatic com.mongodb.internal.HexUtils.hexMD5:([B)Ljava/lang/String;
            areturn
        end local 3 // byte[] b
        end local 2 // int len
        end local 1 // int offset
        end local 0 // java.nio.ByteBuffer buf
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0     buf  Ljava/nio/ByteBuffer;
            0    7     1  offset  I
            0    7     2     len  I
            1    7     3       b  [B
            2    6     4       i  I
    MethodParameters:
        Name  Flags
      buf     final
      offset  final
      len     final
}
SourceFile: "HexUtils.java"