public abstract class MD5Util
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
Constructor and Description |
---|
MD5Util() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
bytesToHex(byte[] bytes)
Convert a byte array to a hex representation
|
static java.lang.String |
createMD5Digest(byte[] source)
Creates a digest from the given byte stream as hex.
|
static boolean |
equals(byte[] source,
java.lang.String existingHash)
Returns true if the has of the passed stream is equal to the existing hash.
|
public static final java.lang.String cvsRev
public static java.lang.String bytesToHex(byte[] bytes)
bytes
- public static java.lang.String createMD5Digest(byte[] source)
public static boolean equals(byte[] source, java.lang.String existingHash)
source
- the byte to be hashed and comparedexistingHash
- the existing hash to compare against.Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.