public final class MD5 extends Object
Constructor and Description |
---|
MD5() |
Modifier and Type | Method and Description |
---|---|
static String |
calculateHash(byte[] bytes)
Computes the md5 hash of a byte array.
|
public static String calculateHash(byte[] bytes) throws NoSuchAlgorithmException
bytes
- array of bytesNoSuchAlgorithmException
- if MD5 algorithm is not available.Copyright © 2010–2019 GZoltar. All rights reserved.