xss.EncryptionHandler
4.2.0
Add method overload key connection
See the version list below for details.
Install-Package xss.EncryptionHandler -Version 4.2.0
dotnet add package xss.EncryptionHandler --version 4.2.0
<PackageReference Include="xss.EncryptionHandler" Version="4.2.0" />
paket add xss.EncryptionHandler --version 4.2.0
#r "nuget: xss.EncryptionHandler, 4.2.0"
Release Notes
Version 4.2.0
a. I added the GenerateTokenJwt method overload
Version 4.1.1
a. Add method GetClaimsFromAccessToken
Version 4.1.0
a. Add parameter JWT Refresh Expiration Min
b. Add method refresh token
c. Add method revoke token
Version 4.+-
a. Add Encrypt JWT
Version 3.+-
a. Add Encrypt RSA
Version 2.+-
a. does not contain try catch. make sure to surround this method with try catch statement when used.
b. it keeps the encryption keys in cache for 60 minutes, to avoid several calls to the database
c. Add Encrypt Hash Sha256
General-
Set the parameters for your application.
Need these store procedure in your client app.
Add method:
getParameters
setParameters
/*=============================================
-- Author: Bbautista
-- Create Date: 2019-02-21
-- Dependencies:
-- Description:
-- Notes:
-- [Redmine Ticket: ?] - Update Encryption Nuget
-- Modification:
-- [Redmine Ticket 52670] AOtiniano 2020-20-11 ADD [ENCRYPTION_RSAPUBLICKEY] and [ENCRYPTION_RSAPRIVATEKEY] columns
-- [Redmine Ticket: ?]
-- =============================================
*/
Alter Procedure [dbo].[Encryption_GetSettings_Sp]
As
Begin
Set NoCount On;
Set Transaction Isolation Level Read UnCommitted;
Select Top 1
[S].[Encryption_passPhrase]
, [S].[Encryption_SaltValue]
, [S].[Encryption_InitVector]
, [S].[ENCRYPTION_RSAPUBLICKEY]
, [S].[ENCRYPTION_RSAPRIVATEKEY]
From [tbl_Settings] As [S];
End;
Please, make sure.
Supported Methods:
-Encrypt
-Decrypt
Example Code:
Encryption.Encrypt("x")
Encryption.Decrypt("x")
Dependencies
-
.NETCoreApp 2.2
- BouncyCastle (>= 1.8.6.1)
- Microsoft.CSharp (>= 4.5.0)
- Microsoft.Extensions.Caching.Memory (>= 3.1.3)
- System.IdentityModel.Tokens.Jwt (>= 6.9.0)
- xss.ConnectionManager (>= 2.4.0)
- xss.EncryptionKernel (>= 3.1.0)
- xss.ExtensionHandler (>= 1.2.0.5)
-
.NETCoreApp 3.1
- BouncyCastle (>= 1.8.6.1)
- Microsoft.CSharp (>= 4.5.0)
- Microsoft.Extensions.Caching.Memory (>= 3.1.3)
- System.IdentityModel.Tokens.Jwt (>= 6.9.0)
- xss.ConnectionManager (>= 2.4.0)
- xss.EncryptionKernel (>= 3.1.0)
- xss.ExtensionHandler (>= 1.2.0.5)
-
.NETFramework 4.7.2
- BouncyCastle (>= 1.8.6.1)
- Microsoft.CSharp (>= 4.5.0)
- Microsoft.Extensions.Caching.Memory (>= 3.1.3)
- System.IdentityModel.Tokens.Jwt (>= 6.9.0)
- xss.ConnectionManager (>= 2.4.0)
- xss.EncryptionKernel (>= 3.1.0)
- xss.ExtensionHandler (>= 1.2.0.5)
-
.NETFramework 4.8
- BouncyCastle (>= 1.8.6.1)
- Microsoft.CSharp (>= 4.5.0)
- Microsoft.Extensions.Caching.Memory (>= 3.1.3)
- System.IdentityModel.Tokens.Jwt (>= 6.9.0)
- xss.ConnectionManager (>= 2.4.0)
- xss.EncryptionKernel (>= 3.1.0)
- xss.ExtensionHandler (>= 1.2.0.5)
-
.NETStandard 2.0
- BouncyCastle (>= 1.8.6.1)
- Microsoft.CSharp (>= 4.5.0)
- Microsoft.Extensions.Caching.Memory (>= 3.1.3)
- System.IdentityModel.Tokens.Jwt (>= 6.9.0)
- xss.ConnectionManager (>= 2.4.0)
- xss.EncryptionKernel (>= 3.1.0)
- xss.ExtensionHandler (>= 1.2.0.5)
Used By
NuGet packages (125)
Showing the top 5 NuGet packages that depend on xss.EncryptionHandler:
| Package | Downloads |
|---|---|
|
xss.ProductEntryBackEnd
Admin product and categories
|
|
|
xss.EmailTemplateBackEnd
Generation new version with changes in updated nugets
|
|
|
xss.RolesBackend
This nuget is for Backend for User, roles, navsettings, reports_roles and controls management
|
|
|
xss.DistributorBackEnd
Package Description
|
|
|
xss.PromoCodes
Package Description
|