public class Digest
======================================================= Author: liying - liruoer2008@yeah.net Datetime: 2017/11/5 20:07 Description: Java Digest Util Remarks: =======================================================
| 限定符和类型 | 字段和说明 |
|---|---|
static Digest |
INSTANCE
=======================================================
Author: liying - liruoer2008@yeah.net
Datetime: 2017/11/5 20:07
Description: Java Digest Util
Remarks:
=======================================================
|
| 限定符和类型 | 方法和说明 |
|---|---|
static kotlin.Array[] |
encodeHex(kotlin.Array[] data,
boolean upperCase)
Reads through a byte array and returns the digest for the data.
|
static kotlin.Array[] |
encodeHex(kotlin.Array[] data)
Reads through a byte array and returns the digest for the data.
|
static java.lang.String |
hex(java.lang.String data,
boolean upperCase)
Reads through a string and returns the digest for the data.
|
static java.lang.String |
hex(java.lang.String data)
Reads through a string and returns the digest for the data.
|
static java.lang.String |
hex(java.io.File file,
boolean upperCase)
Reads through a file and returns the digest for the file data.
|
static java.lang.String |
hex(java.io.File file)
Reads through a file and returns the digest for the file data.
|
static java.lang.String |
hex(kotlin.Array[] data,
boolean upperCase)
Reads through a byte array and returns the digest for the data.
|
static java.lang.String |
hex(kotlin.Array[] data)
Reads through a byte array and returns the digest for the data.
|
static kotlin.Array[] |
md2(java.lang.String data)
Calculates the MD2 digest and returns the value as a 16 element byte[].
|
static kotlin.Array[] |
md2(java.io.File file)
Calculates the MD2 digest and returns the value as a 16 element byte[].
|
static kotlin.Array[] |
md2(kotlin.Array[] data)
Calculates the MD2 digest and returns the value as a 16 element byte[].
|
static java.lang.String |
md2Hex(java.lang.String data,
boolean upperCase)
Calculates the MD2 digest and returns the value as a 32 character hex string.
|
static java.lang.String |
md2Hex(java.lang.String data)
Calculates the MD2 digest and returns the value as a 32 character hex string.
|
static java.lang.String |
md2Hex(java.io.File file,
boolean upperCase)
Calculates the MD2 digest and returns the value as a 32 character hex string.
|
static java.lang.String |
md2Hex(java.io.File file)
Calculates the MD2 digest and returns the value as a 32 character hex string.
|
static java.lang.String |
md2Hex(kotlin.Array[] data,
boolean upperCase)
Calculates the MD2 digest and returns the value as a 32 character hex string.
|
static java.lang.String |
md2Hex(kotlin.Array[] data)
Calculates the MD2 digest and returns the value as a 32 character hex string.
|
static kotlin.Array[] |
md5(java.lang.String data)
Calculates the MD5 digest and returns the value as a 16 element byte[].
|
static kotlin.Array[] |
md5(java.io.File file)
Calculates the MD5 digest and returns the value as a 16 element byte[].
|
static kotlin.Array[] |
md5(kotlin.Array[] data)
Calculates the MD5 digest and returns the value as a 16 element byte[].
|
static java.lang.String |
md5Hex(java.lang.String data,
boolean upperCase)
Calculates the MD5 digest and returns the value as a 32 character hex string.
|
static java.lang.String |
md5Hex(java.lang.String data)
Calculates the MD5 digest and returns the value as a 32 character hex string.
|
static java.lang.String |
md5Hex(java.io.File file,
boolean upperCase)
Calculates the MD5 digest and returns the value as a 32 character hex string.
|
static java.lang.String |
md5Hex(java.io.File file)
Calculates the MD5 digest and returns the value as a 32 character hex string.
|
static java.lang.String |
md5Hex(kotlin.Array[] data,
boolean upperCase)
Calculates the MD5 digest and returns the value as a 32 character hex string.
|
static java.lang.String |
md5Hex(kotlin.Array[] data)
Calculates the MD5 digest and returns the value as a 32 character hex string.
|
static kotlin.Array[] |
sha1(java.lang.String data)
Calculates the SHA-1 digest and returns the value as a byte[].
|
static kotlin.Array[] |
sha1(java.io.File file)
Calculates the SHA-1 digest and returns the value as a byte[].
|
static kotlin.Array[] |
sha1(kotlin.Array[] data)
Calculates the SHA-1 digest and returns the value as a byte[].
|
static java.lang.String |
sha1Hex(java.lang.String data,
boolean upperCase)
Calculates the SHA-1 digest and returns the value as a hex string.
|
static java.lang.String |
sha1Hex(java.lang.String data)
Calculates the SHA-1 digest and returns the value as a hex string.
|
static java.lang.String |
sha1Hex(java.io.File file,
boolean upperCase)
Calculates the SHA-1 digest and returns the value as a hex string.
|
static java.lang.String |
sha1Hex(java.io.File file)
Calculates the SHA-1 digest and returns the value as a hex string.
|
static java.lang.String |
sha1Hex(kotlin.Array[] data,
boolean upperCase)
Calculates the SHA-1 digest and returns the value as a hex string.
|
static java.lang.String |
sha1Hex(kotlin.Array[] data)
Calculates the SHA-1 digest and returns the value as a hex string.
|
static kotlin.Array[] |
sha224(java.lang.String data)
Calculates the SHA-224 digest and returns the value as a byte[].
|
static kotlin.Array[] |
sha224(java.io.File file)
Calculates the SHA-224 digest and returns the value as a byte[].
|
static kotlin.Array[] |
sha224(kotlin.Array[] data)
Calculates the SHA-224 digest and returns the value as a byte[].
|
static java.lang.String |
sha224Hex(java.lang.String data,
boolean upperCase)
Calculates the SHA-224 digest and returns the value as a hex string.
|
static java.lang.String |
sha224Hex(java.lang.String data)
Calculates the SHA-224 digest and returns the value as a hex string.
|
static java.lang.String |
sha224Hex(java.io.File file,
boolean upperCase)
Calculates the SHA-224 digest and returns the value as a hex string.
|
static java.lang.String |
sha224Hex(java.io.File file)
Calculates the SHA-224 digest and returns the value as a hex string.
|
static java.lang.String |
sha224Hex(kotlin.Array[] data,
boolean upperCase)
Calculates the SHA-224 digest and returns the value as a hex string.
|
static java.lang.String |
sha224Hex(kotlin.Array[] data)
Calculates the SHA-224 digest and returns the value as a hex string.
|
static kotlin.Array[] |
sha256(java.lang.String data)
Calculates the SHA-256 digest and returns the value as a byte[].
|
static kotlin.Array[] |
sha256(java.io.File file)
Calculates the SHA-256 digest and returns the value as a byte[].
|
static kotlin.Array[] |
sha256(kotlin.Array[] data)
Calculates the SHA-256 digest and returns the value as a byte[].
|
static java.lang.String |
sha256Hex(java.lang.String data,
boolean upperCase)
Calculates the SHA-256 digest and returns the value as a hex string.
|
static java.lang.String |
sha256Hex(java.lang.String data)
Calculates the SHA-256 digest and returns the value as a hex string.
|
static java.lang.String |
sha256Hex(java.io.File file,
boolean upperCase)
Calculates the SHA-256 digest and returns the value as a hex string.
|
static java.lang.String |
sha256Hex(java.io.File file)
Calculates the SHA-256 digest and returns the value as a hex string.
|
static java.lang.String |
sha256Hex(kotlin.Array[] data,
boolean upperCase)
Calculates the SHA-256 digest and returns the value as a hex string.
|
static java.lang.String |
sha256Hex(kotlin.Array[] data)
Calculates the SHA-256 digest and returns the value as a hex string.
|
static kotlin.Array[] |
sha384(java.lang.String data)
Calculates the SHA-384 digest and returns the value as a byte[].
|
static kotlin.Array[] |
sha384(java.io.File file)
Calculates the SHA-384 digest and returns the value as a byte[].
|
static kotlin.Array[] |
sha384(kotlin.Array[] data)
Calculates the SHA-384 digest and returns the value as a byte[].
|
static java.lang.String |
sha384Hex(java.lang.String data,
boolean upperCase)
Calculates the SHA-384 digest and returns the value as a hex string.
|
static java.lang.String |
sha384Hex(java.lang.String data)
Calculates the SHA-384 digest and returns the value as a hex string.
|
static java.lang.String |
sha384Hex(java.io.File file,
boolean upperCase)
Calculates the SHA-384 digest and returns the value as a hex string.
|
static java.lang.String |
sha384Hex(java.io.File file)
Calculates the SHA-384 digest and returns the value as a hex string.
|
static java.lang.String |
sha384Hex(kotlin.Array[] data,
boolean upperCase)
Calculates the SHA-384 digest and returns the value as a hex string.
|
static java.lang.String |
sha384Hex(kotlin.Array[] data)
Calculates the SHA-384 digest and returns the value as a hex string.
|
static kotlin.Array[] |
sha512(java.lang.String data)
Calculates the SHA-512 digest and returns the value as a byte[].
|
static kotlin.Array[] |
sha512(java.io.File file)
Calculates the SHA-512 digest and returns the value as a byte[].
|
static kotlin.Array[] |
sha512(kotlin.Array[] data)
Calculates the SHA-512 digest and returns the value as a byte[].
|
static java.lang.String |
sha512Hex(java.lang.String data,
boolean upperCase)
Calculates the SHA-512 digest and returns the value as a hex string.
|
static java.lang.String |
sha512Hex(java.lang.String data)
Calculates the SHA-512 digest and returns the value as a hex string.
|
static java.lang.String |
sha512Hex(java.io.File file,
boolean upperCase)
Calculates the SHA-512 digest and returns the value as a hex string.
|
static java.lang.String |
sha512Hex(java.io.File file)
Calculates the SHA-512 digest and returns the value as a hex string.
|
static java.lang.String |
sha512Hex(kotlin.Array[] data,
boolean upperCase)
Calculates the SHA-512 digest and returns the value as a hex string.
|
static java.lang.String |
sha512Hex(kotlin.Array[] data)
Calculates the SHA-512 digest and returns the value as a hex string.
|
public static Digest INSTANCE
======================================================= Author: liying - liruoer2008@yeah.net Datetime: 2017/11/5 20:07 Description: Java Digest Util Remarks: =======================================================
@JvmStatic
@NotNull
public static kotlin.Array[] md2(@NotNull
java.lang.String data)
Calculates the MD2 digest and returns the value as a 16 element byte[].
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] md2(@NotNull
java.io.File file)
Calculates the MD2 digest and returns the value as a 16 element byte[].
file - File to digest@JvmStatic
@NotNull
public static kotlin.Array[] md2(@NotNull
kotlin.Array[] data)
Calculates the MD2 digest and returns the value as a 16 element byte[].
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String md2Hex(@NotNull
java.lang.String data,
boolean upperCase)
Calculates the MD2 digest and returns the value as a 32 character hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String md2Hex(@NotNull
java.lang.String data)
Calculates the MD2 digest and returns the value as a 32 character hex string.
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String md2Hex(@NotNull
java.io.File file,
boolean upperCase)
Calculates the MD2 digest and returns the value as a 32 character hex string.
file - File to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String md2Hex(@NotNull
java.io.File file)
Calculates the MD2 digest and returns the value as a 32 character hex string.
file - File to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String md2Hex(@NotNull
kotlin.Array[] data,
boolean upperCase)
Calculates the MD2 digest and returns the value as a 32 character hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String md2Hex(@NotNull
kotlin.Array[] data)
Calculates the MD2 digest and returns the value as a 32 character hex string.
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] md5(@NotNull
java.lang.String data)
Calculates the MD5 digest and returns the value as a 16 element byte[].
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] md5(@NotNull
java.io.File file)
Calculates the MD5 digest and returns the value as a 16 element byte[].
file - File to digest@JvmStatic
@NotNull
public static kotlin.Array[] md5(@NotNull
kotlin.Array[] data)
Calculates the MD5 digest and returns the value as a 16 element byte[].
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String md5Hex(@NotNull
java.lang.String data,
boolean upperCase)
Calculates the MD5 digest and returns the value as a 32 character hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String md5Hex(@NotNull
java.lang.String data)
Calculates the MD5 digest and returns the value as a 32 character hex string.
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String md5Hex(@NotNull
java.io.File file,
boolean upperCase)
Calculates the MD5 digest and returns the value as a 32 character hex string.
file - File to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String md5Hex(@NotNull
java.io.File file)
Calculates the MD5 digest and returns the value as a 32 character hex string.
file - File to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String md5Hex(@NotNull
kotlin.Array[] data,
boolean upperCase)
Calculates the MD5 digest and returns the value as a 32 character hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String md5Hex(@NotNull
kotlin.Array[] data)
Calculates the MD5 digest and returns the value as a 32 character hex string.
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha1(@NotNull
java.lang.String data)
Calculates the SHA-1 digest and returns the value as a byte[].
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha1(@NotNull
java.io.File file)
Calculates the SHA-1 digest and returns the value as a byte[].
file - File to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha1(@NotNull
kotlin.Array[] data)
Calculates the SHA-1 digest and returns the value as a byte[].
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha1Hex(@NotNull
java.lang.String data,
boolean upperCase)
Calculates the SHA-1 digest and returns the value as a hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha1Hex(@NotNull
java.lang.String data)
Calculates the SHA-1 digest and returns the value as a hex string.
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha1Hex(@NotNull
java.io.File file,
boolean upperCase)
Calculates the SHA-1 digest and returns the value as a hex string.
file - File to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha1Hex(@NotNull
java.io.File file)
Calculates the SHA-1 digest and returns the value as a hex string.
file - File to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha1Hex(@NotNull
kotlin.Array[] data,
boolean upperCase)
Calculates the SHA-1 digest and returns the value as a hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha1Hex(@NotNull
kotlin.Array[] data)
Calculates the SHA-1 digest and returns the value as a hex string.
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha224(@NotNull
java.lang.String data)
Calculates the SHA-224 digest and returns the value as a byte[].
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha224(@NotNull
java.io.File file)
Calculates the SHA-224 digest and returns the value as a byte[].
file - File to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha224(@NotNull
kotlin.Array[] data)
Calculates the SHA-224 digest and returns the value as a byte[].
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha224Hex(@NotNull
java.lang.String data,
boolean upperCase)
Calculates the SHA-224 digest and returns the value as a hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha224Hex(@NotNull
java.lang.String data)
Calculates the SHA-224 digest and returns the value as a hex string.
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha224Hex(@NotNull
java.io.File file,
boolean upperCase)
Calculates the SHA-224 digest and returns the value as a hex string.
file - File to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha224Hex(@NotNull
java.io.File file)
Calculates the SHA-224 digest and returns the value as a hex string.
file - File to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha224Hex(@NotNull
kotlin.Array[] data,
boolean upperCase)
Calculates the SHA-224 digest and returns the value as a hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha224Hex(@NotNull
kotlin.Array[] data)
Calculates the SHA-224 digest and returns the value as a hex string.
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha256(@NotNull
java.lang.String data)
Calculates the SHA-256 digest and returns the value as a byte[].
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha256(@NotNull
java.io.File file)
Calculates the SHA-256 digest and returns the value as a byte[].
file - File to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha256(@NotNull
kotlin.Array[] data)
Calculates the SHA-256 digest and returns the value as a byte[].
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha256Hex(@NotNull
java.lang.String data,
boolean upperCase)
Calculates the SHA-256 digest and returns the value as a hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha256Hex(@NotNull
java.lang.String data)
Calculates the SHA-256 digest and returns the value as a hex string.
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha256Hex(@NotNull
java.io.File file,
boolean upperCase)
Calculates the SHA-256 digest and returns the value as a hex string.
file - File to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha256Hex(@NotNull
java.io.File file)
Calculates the SHA-256 digest and returns the value as a hex string.
file - File to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha256Hex(@NotNull
kotlin.Array[] data,
boolean upperCase)
Calculates the SHA-256 digest and returns the value as a hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha256Hex(@NotNull
kotlin.Array[] data)
Calculates the SHA-256 digest and returns the value as a hex string.
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha384(@NotNull
java.lang.String data)
Calculates the SHA-384 digest and returns the value as a byte[].
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha384(@NotNull
java.io.File file)
Calculates the SHA-384 digest and returns the value as a byte[].
file - File to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha384(@NotNull
kotlin.Array[] data)
Calculates the SHA-384 digest and returns the value as a byte[].
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha384Hex(@NotNull
java.lang.String data,
boolean upperCase)
Calculates the SHA-384 digest and returns the value as a hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha384Hex(@NotNull
java.lang.String data)
Calculates the SHA-384 digest and returns the value as a hex string.
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha384Hex(@NotNull
java.io.File file,
boolean upperCase)
Calculates the SHA-384 digest and returns the value as a hex string.
file - File to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha384Hex(@NotNull
java.io.File file)
Calculates the SHA-384 digest and returns the value as a hex string.
file - File to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha384Hex(@NotNull
kotlin.Array[] data,
boolean upperCase)
Calculates the SHA-384 digest and returns the value as a hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha384Hex(@NotNull
kotlin.Array[] data)
Calculates the SHA-384 digest and returns the value as a hex string.
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha512(@NotNull
java.lang.String data)
Calculates the SHA-512 digest and returns the value as a byte[].
data - Data to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha512(@NotNull
java.io.File file)
Calculates the SHA-512 digest and returns the value as a byte[].
file - File to digest@JvmStatic
@NotNull
public static kotlin.Array[] sha512(@NotNull
kotlin.Array[] data)
Calculates the SHA-512 digest and returns the value as a byte[].
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha512Hex(@NotNull
java.lang.String data,
boolean upperCase)
Calculates the SHA-512 digest and returns the value as a hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha512Hex(@NotNull
java.lang.String data)
Calculates the SHA-512 digest and returns the value as a hex string.
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha512Hex(@NotNull
java.io.File file,
boolean upperCase)
Calculates the SHA-512 digest and returns the value as a hex string.
file - File to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha512Hex(@NotNull
java.io.File file)
Calculates the SHA-512 digest and returns the value as a hex string.
file - File to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha512Hex(@NotNull
kotlin.Array[] data,
boolean upperCase)
Calculates the SHA-512 digest and returns the value as a hex string.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String sha512Hex(@NotNull
kotlin.Array[] data)
Calculates the SHA-512 digest and returns the value as a hex string.
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String hex(@NotNull
java.lang.String data,
boolean upperCase)
Reads through a string and returns the digest for the data.
data - Data to digest treated as UTF-8 string@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String hex(@NotNull
java.lang.String data)
Reads through a string and returns the digest for the data.
data - Data to digest treated as UTF-8 string@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String hex(@NotNull
java.io.File file,
boolean upperCase)
Reads through a file and returns the digest for the file data.
file - File to digest treated as UTF-8 string@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String hex(@NotNull
java.io.File file)
Reads through a file and returns the digest for the file data.
file - File to digest treated as UTF-8 string@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String hex(@NotNull
kotlin.Array[] data,
boolean upperCase)
Reads through a byte array and returns the digest for the data.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String hex(@NotNull
kotlin.Array[] data)
Reads through a byte array and returns the digest for the data.
data - Data to digest@JvmStatic
@JvmOverloads
@NotNull
public static kotlin.Array[] encodeHex(@NotNull
kotlin.Array[] data,
boolean upperCase)
Reads through a byte array and returns the digest for the data.
data - Data to digestupperCase - Hex string with capital letters@JvmStatic
@JvmOverloads
@NotNull
public static kotlin.Array[] encodeHex(@NotNull
kotlin.Array[] data)
Reads through a byte array and returns the digest for the data.
data - Data to digest