public class NDigestUtils extends Object
| Constructor and Description |
|---|
NDigestUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
evalHash(InputStream input,
String algo) |
static byte[] |
evalMD5(byte[] bytesOfMessage) |
static byte[] |
evalMD5(InputStream input) |
static byte[] |
evalMD5(Path path) |
static byte[] |
evalMD5(String input) |
static String |
evalMD5Hex(InputStream input) |
static String |
evalMD5Hex(Path path) |
static char[] |
evalSHA1(char[] input) |
static String |
evalSHA1(File file) |
static byte[] |
evalSHA1(InputStream input,
boolean closeStream) |
static String |
evalSHA1(String input) |
static String |
evalSHA1Hex(InputStream input,
boolean closeStream) |
static String |
evalSHA1Hex(NPath file) |
static char[] |
evalSHA1HexChars(InputStream input,
boolean closeStream) |
public static byte[] evalMD5(String input)
public static byte[] evalMD5(Path path)
public static String evalMD5Hex(InputStream input)
public static byte[] evalHash(InputStream input, String algo)
public static byte[] evalMD5(InputStream input)
public static byte[] evalMD5(byte[] bytesOfMessage)
public static char[] evalSHA1(char[] input)
public static String evalSHA1Hex(InputStream input, boolean closeStream)
public static char[] evalSHA1HexChars(InputStream input, boolean closeStream)
public static byte[] evalSHA1(InputStream input, boolean closeStream)
Copyright © 2025 vpc open source initiative. All rights reserved.