SecureCrypto 1.0.1
dotnet add package SecureCrypto --version 1.0.1
NuGet\Install-Package SecureCrypto -Version 1.0.1
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="SecureCrypto" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SecureCrypto" Version="1.0.1" />
<PackageReference Include="SecureCrypto" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SecureCrypto --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SecureCrypto, 1.0.1"
#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.
#:package SecureCrypto@1.0.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SecureCrypto&version=1.0.1
#tool nuget:?package=SecureCrypto&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SecureCrypto
Eine hochsichere, benutzerfreundliche Kryptographie-Bibliothek für .NET mit AES-256-GCM Verschlüsselung.
Features
- AES-256-GCM Verschlüsselung: Moderne, sichere Verschlüsselung mit Authentifizierung
- Versioniertes Format: Zukunftssichere Datenstruktur für Updates
- Einfache API: Nur eine öffentliche
Crypto
Klasse für alle Operationen - Passwort-basiert: PBKDF2 Key-Derivation mit 100.000 Iterationen
- File-Unterstützung: Direkte Verschlüsselung von Dateien
- Sichere Implementierung: Automatisches Löschen sensibler Daten aus dem Speicher
Installation
dotnet add package SecureCrypto
Verwendung
Text Verschlüsselung
using Crypto;
// Text verschlüsseln
string plaintext = "Geheimer Text";
string password = "MeinSicheresPasswort123!";
string encrypted = Crypto.Encrypt(plaintext, password);
// Text entschlüsseln
string decrypted = Crypto.Decrypt(encrypted, password);
Byte-Array Verschlüsselung
// Bytes verschlüsseln
byte[] data = Encoding.UTF8.GetBytes("Sensitive data");
byte[] encryptedBytes = Crypto.EncryptBytes(data, password);
// Bytes entschlüsseln
byte[] decryptedBytes = Crypto.DecryptBytes(encryptedBytes, password);
Datei Verschlüsselung
// Datei verschlüsseln
Crypto.EncryptFile("input.txt", "encrypted.dat", password);
// Datei entschlüsseln
Crypto.DecryptFile("encrypted.dat", "decrypted.txt", password);
Sicheres Passwort generieren
string securePassword = Crypto.GenerateSecurePassword(32);
Sicherheitsfeatures
- AES-256-GCM: Authenticated Encryption with Associated Data (AEAD)
- PBKDF2: 100.000 Iterationen mit SHA-256
- Zufällige Salts: Unique salt für jeden Verschlüsselungsvorgang
- Zufällige Nonces: Unique nonce für jeden Verschlüsselungsvorgang
- Memory Clearing: Automatisches Löschen sensibler Daten
- Versionierung: Zukunftssichere Datenstruktur
Architektur
Die Bibliothek verwendet eine saubere Architektur:
- Öffentliche API:
Crypto
Klasse - einfach zu verwenden - Private Implementierung:
HighlySecureAuthenticatedVersionedCipher
- interne Sicherheitslogik
Dies gewährleistet eine einfache Benutzung bei maximaler Sicherheit.
Lizenz
MIT License
Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
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 |
---|---|---|
1.0.1 | 116 | 9/9/2025 |
1.0.0 | 117 | 9/8/2025 |
0.1.0-alpha.2 | 118 | 9/9/2025 |