mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-20 08:18:48 +08:00
28 lines
655 B
C#
28 lines
655 B
C#
namespace System.Application.Services
|
|
{
|
|
/// <summary>
|
|
/// 安全服务
|
|
/// </summary>
|
|
public interface ISecurityService
|
|
{
|
|
/// <summary>
|
|
/// 加密
|
|
/// </summary>
|
|
/// <param name="value"></param>
|
|
/// <returns></returns>
|
|
byte[]? E(string? value);
|
|
|
|
/// <inheritdoc cref="E(string?)"/>
|
|
byte[]? EB(byte[]? value);
|
|
|
|
/// <summary>
|
|
/// 解密
|
|
/// </summary>
|
|
/// <param name="value"></param>
|
|
/// <returns></returns>
|
|
string? D(byte[]? value);
|
|
|
|
/// <inheritdoc cref="D(byte[]?)"/>
|
|
byte[]? DB(byte[]? value);
|
|
}
|
|
} |