![]() |
VOOZH | about |
dotnet add package DotNetCore.Security --version 20.16.0
NuGet\Install-Package DotNetCore.Security -Version 20.16.0
<PackageReference Include="DotNetCore.Security" Version="20.16.0" />
<PackageVersion Include="DotNetCore.Security" Version="20.16.0" />Directory.Packages.props
<PackageReference Include="DotNetCore.Security" />Project file
paket add DotNetCore.Security --version 20.16.0
#r "nuget: DotNetCore.Security, 20.16.0"
#:package DotNetCore.Security@20.16.0
#addin nuget:?package=DotNetCore.Security&version=20.16.0Install as a Cake Addin
#tool nuget:?package=DotNetCore.Security&version=20.16.0Install as a Cake Tool
public interface ICryptographyService
{
string Decrypt(string value, string salt);
string Encrypt(string value, string salt);
}
public class CryptographyService : ICryptographyService
{
public CryptographyService(string password) { }
public string Decrypt(string value, string salt) { }
public string Encrypt(string value, string salt) { }
}
public interface IHashService
{
string Create(string value, string salt);
bool Validate(string value, string salt, string hash);
}
public class HashService : IHashService
{
public string Create(string value, string salt) { }
public bool Validate(string value, string salt, string hash) { }
}
public static class Extensions
{
public static void AddCryptographyService(this IServiceCollection services, string password) { }
public static void AddHashService(this IServiceCollection services) { }
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on DotNetCore.Security:
| Package | Downloads |
|---|---|
|
IGeekFan.FreeKit.Infrastructure
基础包功能模块 |
Showing the top 3 popular GitHub repositories that depend on DotNetCore.Security:
| Repository | Stars |
|---|---|
|
rafaelfgx/Architecture
.NET 10, Angular 21, Clean Architecture, Clean Code, SOLID, KISS, DRY, Mediator Pattern, Folder-by-Feature Structure
|
|
|
luoyunchong/lin-cms-dotnetcore
😃A simple and practical CMS implemented by .NET + FreeSql;前后端分离、Docker部署、OAtuh2授权登录、自动化部署DevOps、自动同步至Gitee、代码生成器、仿掘金专栏
|
|
|
luoyunchong/dotnetcore-examples
about learning DotNetCore via examples. DotNetCore 教程、技术栈示例代码,快速简单上手教程。
|
| Version | Downloads | Last Updated |
|---|---|---|
| 20.16.0 | 191 | 5/28/2026 |