xss.EncryptionHandler
2.0.1
Add method overload key connection
See the version list below for details.
Install-Package xss.EncryptionHandler -Version 2.0.1
dotnet add package xss.EncryptionHandler --version 2.0.1
<PackageReference Include="xss.EncryptionHandler" Version="2.0.1" />
paket add xss.EncryptionHandler --version 2.0.1
#r "nuget: xss.EncryptionHandler, 2.0.1"
Release Notes
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
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: ?]
-- =============================================
*/
Create 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]
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
- Microsoft.CSharp (>= 4.5.0)
- Microsoft.Extensions.Caching.Memory (>= 3.1.3)
- xss.ConnectionManager (>= 2.4.0)
- xss.EncryptionKernel (>= 1.0.0)
- xss.ExtensionHandler (>= 1.2.0.4)
-
.NETCoreApp 3.1
- Microsoft.CSharp (>= 4.5.0)
- Microsoft.Extensions.Caching.Memory (>= 3.1.3)
- xss.ConnectionManager (>= 2.4.0)
- xss.EncryptionKernel (>= 1.0.0)
- xss.ExtensionHandler (>= 1.2.0.4)
-
.NETFramework 4.7.2
- Microsoft.CSharp (>= 4.5.0)
- Microsoft.Extensions.Caching.Memory (>= 3.1.3)
- xss.ConnectionManager (>= 2.4.0)
- xss.EncryptionKernel (>= 1.0.0)
- xss.ExtensionHandler (>= 1.2.0.4)
-
.NETFramework 4.8
- Microsoft.CSharp (>= 4.5.0)
- Microsoft.Extensions.Caching.Memory (>= 3.1.3)
- xss.ConnectionManager (>= 2.4.0)
- xss.EncryptionKernel (>= 1.0.0)
- xss.ExtensionHandler (>= 1.2.0.4)
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.5.0)
- Microsoft.Extensions.Caching.Memory (>= 3.1.3)
- xss.ConnectionManager (>= 2.4.0)
- xss.EncryptionKernel (>= 1.0.0)
- xss.ExtensionHandler (>= 1.2.0.4)
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
|