CryptoCryptoKey Class

表示对称算法所用密钥,包含 Key 密钥值以及 IV 初始化向量值。

Definition

Namespace: QuickAdmin.Utils
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.1.6
C#
public class CryptoKey
Inheritance
object    CryptoCryptoKey

Constructors

CryptoCryptoKeyInitializes a new instance of the CryptoCryptoKey class

Properties

Public Properties

IV 获取或设置初始化向量用 base64 编码的等效字符串值。
IVBytes 获取初始化向量的二进制值。
Key 获取或设置密钥用 base64 编码的等效字符串值。
KeyBytes 获取密钥的二进制值。

Methods

Public Methods

FromPassword 使用指定密码生成对称算法密钥的静态方法。
ToString 返回本密钥以 JSON 格式表示的字符串。
(Overrides objectToString)

See Also