Genocs.Security 8.0.0

Requires NuGet 5.0.0 or higher.

dotnet add package Genocs.Security --version 8.0.0
                    
NuGet\Install-Package Genocs.Security -Version 8.0.0
                    
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="Genocs.Security" Version="8.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Genocs.Security" Version="8.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Genocs.Security" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Genocs.Security --version 8.0.0
                    
#r "nuget: Genocs.Security, 8.0.0"
                    
#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.
#:package Genocs.Security@8.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Genocs.Security&version=8.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Genocs.Security&version=8.0.0
                    
Install as a Cake Tool

The Genocs Library - Security components

Genocs Enterprise Library - Genocs.Security. This package contains functionalities to handle standard security concerns. The library is built to be used with .NET10, .NET9, .NET8.

Description

Security NuGet package contains encryption, hashing, and JWT authentication functionalities for DDD services.

Dependencies

  • Genocs.Core: 7.5.*
  • Microsoft.AspNetCore.Authentication.JwtBearer: Version varies by target framework
    • NET10.0: 10.0.15
    • NET9.0: 9.0.9
    • NET8.0: 8.0.*

Framework references

  • NONE

Example RSA Key

Following an example of how the key should be structured.

WARNING: DO NOT USE IT IN PROD!!!

<RSAKeyValue>
    <Modulus>svbEQ96xMdgUpnkDiSaULDbM/HVFLHLc46BdyqwEzIhK+Ml2dqWq/RZIh8kLWmYwpB5gqfOya8Wid3GKIpq7Ke8ciV53qW/1ImOZZPxOtwX1mNzvIEagq80QJoMLphtU1ytPWRXvOjBdGUeTzmdV2kpHNax41n4Uv0QpOPIhzME=</Modulus>
    <Exponent>AQAB</Exponent>
    <P></P>
    <Q></Q>
    <DP></DP>
    <DQ></DQ>
    <InverseQ></InverseQ>
    <D></D>
</RSAKeyValue>

Support

Please check the GitHub repository to get more info.

Documentation

The documentation is available at Genocs - Open-Source Framework for Enterprise Applications.

Release notes

The change log and breaking changes are listed here.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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 is compatible.  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.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 Genocs.Security:

Package Downloads
Genocs.Auth

The authorization library.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.0 167 11/23/2025
7.5.1 237 10/19/2025
7.5.0 181 10/12/2025
7.4.1 248 9/19/2025
7.4.0 251 9/19/2025
7.3.0 232 8/14/2025
7.2.5 253 5/1/2025
7.2.4 230 4/18/2025
7.2.3 275 1/20/2025
7.2.2 739 12/31/2024
7.2.1 11,348 12/15/2024
7.2.0 984 12/14/2024
7.1.0 3,770 11/29/2024
7.0.0 8,331 11/24/2024
6.4.0 14,628 11/10/2024
6.3.0 5,372 11/3/2024
6.2.0 7,716 10/22/2024
6.1.0 8,900 10/12/2024
6.0.0 944 7/31/2024
6.0.0-preview.2.0 5,290 7/19/2024
6.0.0-preview.1.0 6,187 6/19/2024
5.0.12 206 6/12/2024
5.0.11 5,290 5/19/2024
5.0.10 9,498 3/31/2024
5.0.9 1,367 2/19/2024
5.0.8 1,323 2/8/2024
5.0.6 3,113 1/23/2024
5.0.5 10,915 12/26/2023
5.0.4 10,248 12/7/2023
5.0.3 200 11/30/2023
5.0.2 179 11/28/2023
5.0.1 227 11/28/2023
5.0.0 215 11/25/2023
5.0.0-preview1.0 207 3/25/2023
5.0.0-preview.5.0 128 10/13/2023
5.0.0-preview.4.1 287 8/9/2023
5.0.0-preview.4.0 189 7/15/2023
5.0.0-preview.3.2 171 7/13/2023
5.0.0-preview.3.1 167 6/19/2023
5.0.0-preview.3.0 388 4/25/2023
5.0.0-preview.2.0 188 4/25/2023
5.0.0-preview.1.3 177 3/27/2023
5.0.0-preview.1.2 180 3/27/2023

The change log and breaking changes are listed here.
           https://github.com/Genocs/genocs-library/releases