dotnet-cryptography

Guide .NET 8.0+ cryptography algorithm selection and implementation.

1|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rudironsoni/dotnet-agent-harness --skill dotnet-cryptography-rudironsoni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-cryptography
Source: https://github.com/rudironsoni/dotnet-agent-harness/tree/main/.rulesync/skills/dotnet-cryptography
Command: npx skills add https://github.com/rudironsoni/dotnet-agent-harness --skill dotnet-cryptography-rudironsoni

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides guidance on selecting and correctly using modern cryptography algorithms within .NET applications, ensuring data security and integrity.

Core Features & Use Cases

  • Algorithm Selection: Guidance on hashing (SHA-2), symmetric encryption (AES-GCM), asymmetric cryptography (RSA, ECDSA), and key derivation (PBKDF2, Argon2).
  • Post-Quantum Cryptography: Information on using emerging quantum-resistant algorithms available in .NET 10+.
  • Use Case: Securely encrypting sensitive user data before storing it, or verifying the integrity of downloaded files using cryptographic hashes.

Quick Start

Use the dotnet-cryptography skill to hash a byte array using SHA256.

Frequently Asked Questions about dotnet-cryptography

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement AES-GCM symmetric encryption in .NET?

To implement AES-GCM symmetric encryption in .NET, use the modern cryptography APIs provided by the framework. This Skill guides you through selecting and correctly applying AES-GCM to secure sensitive data before storage.

What is the best way to hash data using SHA-2 in .NET?

The best way to hash data using SHA-2 in .NET is by utilizing the built-in framework APIs. This Skill provides guidance on correctly applying SHA-2 hashing algorithms to verify data integrity for items like downloaded files.

Does .NET support post-quantum cryptography algorithms?

Yes, .NET supports post-quantum cryptography algorithms. Starting with .NET 10+, you can access and implement emerging quantum-resistant algorithms to future-proof your application's data security.

When should I use Argon2 versus PBKDF2 for key derivation in .NET?

Choosing between Argon2 and PBKDF2 for key derivation in .NET depends on your specific security requirements. This Skill provides guidance on selecting and correctly implementing the appropriate key derivation algorithm.

Can I use this cryptography guidance for .NET 8.0 applications?

Yes, you can use this cryptography guidance for .NET 8.0 applications. The Skill covers API usage, best practices, and platform-specific considerations for both .NET 8.0+ and .NET 10+ environments.

How do I choose between RSA and ECDSA for asymmetric cryptography in .NET?

Choosing between RSA and ECDSA for asymmetric cryptography in .NET involves evaluating your security and performance needs. This Skill offers guidance on selecting and implementing modern asymmetric algorithms correctly.