IEncryption增加了一个异常返回说明
This commit is contained in:
parent
d4345e311c
commit
206916e209
|
@ -1,4 +1,6 @@
|
|||
namespace Falcon.SugarApi.Encryption
|
||||
using System;
|
||||
|
||||
namespace Falcon.SugarApi.Encryption
|
||||
{
|
||||
/// <summary>
|
||||
/// 基础加密解密接口
|
||||
|
@ -11,14 +13,15 @@
|
|||
/// <param name="key">key</param>
|
||||
/// <param name="str">密文</param>
|
||||
/// <returns>明文</returns>
|
||||
string Decrypt(string key, string str);
|
||||
/// <exception cref="FormatException">提供的字符串格式错误</exception>
|
||||
string Decrypt(string key,string str);
|
||||
/// <summary>
|
||||
/// 通过key加密字符串
|
||||
/// </summary>
|
||||
/// <param name="key">key</param>
|
||||
/// <param name="str">明文</param>
|
||||
/// <returns>密文</returns>
|
||||
string Encrypt(string key, string str);
|
||||
string Encrypt(string key,string str);
|
||||
/// <summary>
|
||||
/// 生成加密key
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue
Block a user