ETAMP 1.1.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package ETAMP --version 1.1.5                
NuGet\Install-Package ETAMP -Version 1.1.5                
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="ETAMP" Version="1.1.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ETAMP --version 1.1.5                
#r "nuget: ETAMP, 1.1.5"                
#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 ETAMP as a Cake Addin
#addin nuget:?package=ETAMP&version=1.1.5

// Install ETAMP as a Cake Tool
#tool nuget:?package=ETAMP&version=1.1.5                

NuGet version (ETAMP)

ETAMP Protocol - Encrypted Token and Message Protocol

ETAMP Documentation

NuGet Package

Introduction

ETAMP (Encrypted Token and Message Protocol) is a comprehensive .NET library tailored for secure message and token encryption and validation. Utilizing the power of elliptic curve cryptography (ECC), ETAMP offers a robust solution for ensuring the security of digital communication. The library is designed with flexibility in mind, allowing for the generation of customizable signed tokens and secure message transmissions.

Features

  • Advanced Cryptography: Leverages ECC for digital signatures, ensuring high-security standards.
  • Token Generation: Create signed or unsigned tokens with user-defined payloads, suitable for various secure data transmission needs.
  • Token Validation: Robust methods to validate the authenticity and integrity of tokens.
  • JWT Integration: Supports JSON Web Tokens (JWT) with claims validation for integrity and lifetime verification.
  • Customization: Flexible architecture supports custom curves, keys, and algorithms.

Installation

Install ETAMP via NuGet Package Manager:

Install-Package ETAMP

Usage Examples

Creating ETAMP Tokens

var etamp = new Etamp();

public class Order : BasePayload {
    public string ItemName { get; set; }
    public decimal Price { get; set; }
}

string token = etamp.CreateETAMP("order", new Order(), true, 1.0);

Validating ETAMP Tokens

var validator = new ValidateToken(new VerifyWrapper(new EcdsaWrapper()));
bool valid = validator.VerifyETAMP(token);

Cryptographic Components

  • EcdsaWrapper: A factory class for creating ECDsa instances.
  • VerifyWrapper: Handles cryptographic verification processes.
  • Flexible Security: Supports integration with hardware security modules.

Additional Features

  • Lightweight validation methods focusing on cryptographic checks.
  • Methods for verifying JWT properties like lifetime, issuer, and audience.
  • Integrates seamlessly with existing .NET applications.

Contributing

Contributions are welcome! If you're interested in contributing, please feel free to submit pull requests or open issues for bugs and feature requests.

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.2 52 10/29/2024
3.0.2 101 5/31/2024
3.0.1 96 5/31/2024
3.0.0 99 5/31/2024
2.0.0 121 5/5/2024
1.4.0 132 3/23/2024
1.3.1 133 3/4/2024
1.3.0 116 3/2/2024
1.2.0 140 3/1/2024
1.1.5 138 2/8/2024
1.1.4 216 12/16/2023
1.1.3 166 12/6/2023
1.1.2 147 12/5/2023
1.1.1 145 12/3/2023
1.1.0 159 12/3/2023
1.0.2 161 11/28/2023
1.0.1 144 11/27/2023
1.0.0 127 11/26/2023