Constructor and Description |
---|
MD5Hash() |
Modifier and Type | Method and Description |
---|---|
static String |
getMD5AsHex(byte[] key)
Given a byte array, returns in MD5 hash as a hex string.
|
static String |
getMD5AsHex(byte[] key,
int offset,
int length)
Given a byte array, returns its MD5 hash as a hex string.
|
public MD5Hash()
public static String getMD5AsHex(byte[] key)
key
- public static String getMD5AsHex(byte[] key, int offset, int length)
key
- the key to hash (variable length byte array)offset
- length
- Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.