@Singleton @Deprecated public class DigestUdfSource extends Object implements UdfSourceAssembly
import 'net.hasor.dataql.fx.encryt.DigestUdfSource' as digest;
UdfSourceAssembly.TypeUdfMap, UdfSourceAssembly.UdfName, UdfSourceAssembly.UdfParams
Constructor and Description |
---|
DigestUdfSource()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
digestBytes(DigestType digestType,
List<Byte> content)
Deprecated.
使用指定方式进行摘要计算
|
static byte[] |
digestString(DigestType digestType,
String content)
Deprecated.
使用指定方式进行摘要计算
|
static byte[] |
md5_bytes(List<Byte> content)
Deprecated.
字节数组的 MD5
|
static byte[] |
md5_string(String content)
Deprecated.
字符串的 MD5
|
static byte[] |
sha_bytes(List<Byte> content)
Deprecated.
字节数组的 SHA
|
static byte[] |
sha_string(String content)
Deprecated.
字符串的 SHA
|
static byte[] |
sha1_bytes(List<Byte> content)
Deprecated.
字节数组的 SHA1
|
static byte[] |
sha1_string(String content)
Deprecated.
字符串的 SHA1
|
static byte[] |
sha256_bytes(List<Byte> content)
Deprecated.
字节数组的 SHA-256
|
static byte[] |
sha256_string(String content)
Deprecated.
字符串的 SHA-256
|
static byte[] |
sha512_bytes(List<Byte> content)
Deprecated.
字节数组的 SHA-512
|
static byte[] |
sha512_string(String content)
Deprecated.
字符串的 SHA-512
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPredicate, getSupplier, getUdfResource
public static byte[] digestBytes(DigestType digestType, List<Byte> content) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] digestString(DigestType digestType, String content) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] md5_bytes(List<Byte> content) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] md5_string(String content) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] sha_bytes(List<Byte> content) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] sha_string(String content) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] sha1_bytes(List<Byte> content) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] sha1_string(String content) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] sha256_bytes(List<Byte> content) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] sha256_string(String content) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] sha512_bytes(List<Byte> content) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] sha512_string(String content) throws NoSuchAlgorithmException
NoSuchAlgorithmException
Copyright © 2020. All rights reserved.