Hestia.Security 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Hestia.Security --version 1.0.1                
NuGet\Install-Package Hestia.Security -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Hestia.Security" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hestia.Security --version 1.0.1                
#r "nuget: Hestia.Security, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Hestia.Security as a Cake Addin
#addin nuget:?package=Hestia.Security&version=1.0.1

// Install Hestia.Security as a Cake Tool
#tool nuget:?package=Hestia.Security&version=1.0.1                

Hestia.Security

alternate text is missing from this package README image alternate text is missing from this package README image


AES

AES128_CBC_PKCS7

  • KEY:16 位
  • IV:16 位
//加密 
byte[] encrypted = Hestia.Security.AES128_CBC_PKCS7_ENCRYPT(byte[] key,byte[] iv,byte[] decrypted);
//解密
byte[] decrypted = Hestia.Security.AES128_CBC_PKCS7_ENCRYPT(byte[] key,byte[] iv,byte[] encrypted);

AES128_CBC_ZERO

  • KEY:16 位
  • IV:16 位
//加密 
byte[] encrypted = Hestia.Security.AES.AES128_CBC_ZERO_ENCRYPT(byte[] key,byte[] iv,byte[] decrypted);
//解密
byte[] decrypted = Hestia.Security.AES.AES128_CBC_ZERO_DECRYPT(byte[] key,byte[] iv,byte[] encrypted);

HASH

MD5

byte[] hash = Hestia.Security.HASH.MD5(byte[] data);

SHA1

byte[] hash = Hestia.Security.HASH.SHA1(byte[] data);

SHA256

byte[] hash = Hestia.Security.HASH.SHA256(byte[] data);

SHA384

byte[] hash = Hestia.Security.HASH.SHA384(byte[] data);

SHA512

byte[] hash = Hestia.Security.HASH.SHA512(byte[] data);
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Hestia.Security:

Package Downloads
Hestia.Logging.DingTalk

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.8 144 4/3/2024
1.1.7 173 9/6/2023
1.1.6 179 7/3/2023
1.1.5 213 4/10/2023
1.1.4 297 2/9/2023
1.1.3 784 9/30/2022
1.1.2 425 9/13/2022
1.1.1 421 9/13/2022
1.1.0 417 9/8/2022
1.0.2 429 8/5/2022
1.0.1 454 7/20/2022
1.0.0 529 5/7/2022