SymmetricEncryption

SymmetricEncryption(SymmetricAlgorithmType, string, string)

创建带参数的对称加密算法。

public SymmetricEncryption(SymmetricAlgorithmType algorithmType, string key, string salt)
范围 类型 描述
algorithmType SymmetricAlgorithmType 指定对称算法类型
key String 加密密钥
salt String 加密密码

也可以看看


SymmetricEncryption(SymmetricAlgorithmType, string)

使用默认密码短语 创建对称加密算法

public SymmetricEncryption(SymmetricAlgorithmType algorithmType, string key)
范围 类型 描述
algorithmType SymmetricAlgorithmType 指定对称算法类型
key String 加密密钥

也可以看看