public class Md5Utils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.reflect.Constructor<? extends Md5> |
DEFAULT_CONSTRUCTOR |
static java.lang.Class<? extends Md5> |
DEFAULT_TYPE |
static char[] |
MD5_CHARACTERS |
static java.lang.String |
TYPE_PROPERTY_NAME |
| Modifier and Type | Method and Description |
|---|---|
static char[] |
asHexCharacters(byte[] bytes) |
static java.lang.String |
asHexString(byte[] bytes) |
static Md5 |
md5() |
static Md5 |
md5Of(byte with) |
static Md5 |
md5Of(byte[] with) |
static Md5 |
md5Of(byte[] with,
int offset,
int length) |
static Md5 |
md5Of(java.io.File file) |
static Md5 |
md5Of(java.io.InputStream is) |
static Md5 |
md5Of(java.lang.String with) |
static Md5 |
md5Of(java.lang.String with,
java.nio.charset.Charset charset) |
public static final java.lang.String TYPE_PROPERTY_NAME
public static final java.lang.Class<? extends Md5> DEFAULT_TYPE
public static final java.lang.reflect.Constructor<? extends Md5> DEFAULT_CONSTRUCTOR
public static final char[] MD5_CHARACTERS
@Nonnull public static Md5 md5()
@Nonnull public static Md5 md5Of(@Nullable java.lang.String with)
@Nonnull public static Md5 md5Of(@Nullable java.lang.String with, @Nonnull java.nio.charset.Charset charset)
@Nonnull public static Md5 md5Of(byte with)
@Nonnull public static Md5 md5Of(@Nullable byte[] with)
@Nonnull public static Md5 md5Of(@Nullable byte[] with, @Nonnegative int offset, @Nonnegative int length)
@Nonnull public static Md5 md5Of(@Nullable@WillNotClose java.io.InputStream is) throws java.io.IOException
java.io.IOException@Nonnull public static Md5 md5Of(@Nullable java.io.File file) throws java.io.IOException
java.io.IOException@Nonnull
public static char[] asHexCharacters(@Nonnull
byte[] bytes)
@Nonnull
public static java.lang.String asHexString(@Nonnull
byte[] bytes)
Copyright © 2013 echocat. All Rights Reserved.