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,6 +13,7 @@
|
|||
/// <param name="key">key</param>
|
||||
/// <param name="str">密文</param>
|
||||
/// <returns>明文</returns>
|
||||
/// <exception cref="FormatException">提供的字符串格式错误</exception>
|
||||
string Decrypt(string key,string str);
|
||||
/// <summary>
|
||||
/// 通过key加密字符串
|
||||
|
|
Loading…
Reference in New Issue
Block a user