Skip to main content
net9.0

C# bindings for the SecP256r1 (P-256) signature verification using Go crypto/ecdsa package

Published
Feb 28, 2025
1y ago
Total Downloads
7.4M
7,425,829

Install

dotnet add package Nethermind.Crypto.SecP256r1 --version 1.0.0-preview.2
ProductVersions
.NET
net9.0

README

secp256r1-bindings

Test Nethermind.Crypto.SecP256r1

C# bindings for the SecP256r1 (P-256) signature verification using Go crypto/ecdsa package.

Build

  • Build the Go code in src/go-ecdsa in c-shared mode as follows:

    go build -ldflags="-s -w" -buildmode=c-shared src/go-ecdsa/main.go
    
  • Put the built library into the respective subdirectory in src/Nethermind.Crypto.SecP256r1/runtimes, replacing the existing stub file

  • Build the project as follows:

    dotnet build src/Nethermind.Crypto.SecP256r1
    

Changes from Previous Version

v1.0.0-preview.1v1.0.0-preview.2
Added Frameworks
net9.0
Removed Frameworks
net8.0

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.