public class Md5Utils extends Object
MessageDigest
instance.Constructor and Description |
---|
Md5Utils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
getMd5Digest(byte[] input)
Generate MD5 digest.
|
static byte[] |
getMd5Digest(String string)
Generate MD5 digest.
|
public static byte[] getMd5Digest(byte[] input)
input
- input data to be hashed.public static byte[] getMd5Digest(String string)
Copyright © 2018. All rights reserved.