Crypto.RawSignData Method

使用指定的密钥数据及哈希值类型签名字节数据。

Definition

Namespace: QuickAdmin.Utils
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.2.4
C#
public static byte[] RawSignData(
	byte[] data,
	byte[] key,
	Crypto.HashType hashType = Crypto.HashType.SHA256
)

Parameters

data  byte[]
字节数据。
key  byte[]
密钥数据。
hashType  Crypto.HashType  (Optional)
哈希值类型。

Return Value

byte[]
签名生成的哈希值。

See Also