Interface ICryptoProvider
加密提供者接口
public interface ICryptoProvider
Methods
Decrypt(string)
解密密文
string Decrypt(string cipherText)
Parameters
cipherTextstring密文(Base64 编码)
Returns
- string
明文
Encrypt(string)
加密明文
string Encrypt(string plainText)
Parameters
plainTextstring明文
Returns
- string
密文(Base64 编码)