BlazorPRF.Server.Crypto
0.3.0-pre
Prefix Reserved
This is a prerelease version of BlazorPRF.Server.Crypto.
dotnet add package BlazorPRF.Server.Crypto --version 0.3.0-pre
NuGet\Install-Package BlazorPRF.Server.Crypto -Version 0.3.0-pre
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="BlazorPRF.Server.Crypto" Version="0.3.0-pre" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlazorPRF.Server.Crypto" Version="0.3.0-pre" />
<PackageReference Include="BlazorPRF.Server.Crypto" />
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 BlazorPRF.Server.Crypto --version 0.3.0-pre
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BlazorPRF.Server.Crypto, 0.3.0-pre"
#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 BlazorPRF.Server.Crypto@0.3.0-pre
#: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=BlazorPRF.Server.Crypto&version=0.3.0-pre&prerelease
#tool nuget:?package=BlazorPRF.Server.Crypto&version=0.3.0-pre&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BlazorPRF.BaseCrypto.Server
PRF-compatible encryption library for server applications using NSec/libsodium.
Compatibility
This library is fully compatible with BlazorPRF.Wasm.Crypto:
- Data encrypted in the browser can be decrypted on the server
- Signatures created in WASM can be verified on the server
- Same key derivation produces identical keys on both platforms
Features
- AES-256-GCM Encryption: Hardware-accelerated symmetric encryption
- Ed25519 Signing: Digital signatures for message authentication
- NSec/libsodium: Battle-tested native cryptography
Installation
dotnet add package BlazorPRF.BaseCrypto.Server
Usage
// Decrypt data that was encrypted in the browser
var plaintext = await cryptoService.DecryptAsync(encryptedData, key);
// Verify a signature created in WASM
var isValid = await cryptoService.VerifyAsync(message, signature, publicKey);
Use Cases
- Server-side decryption: Process data encrypted by WASM clients
- Signature verification: Verify client signatures on the server
- Background services: Process encrypted data in server workers
- API endpoints: Handle encrypted payloads from browser clients
Related Packages
BlazorPRF.Wasm.Crypto- Browser/WASM version (keys stay in JS)
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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.
-
net10.0
- NSec.Cryptography (>= 25.4.0)
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 |
|---|---|---|
| 0.3.0-pre | 79 | 12/20/2025 |
| 0.2.13-pre | 146 | 12/19/2025 |
| 0.2.12-pre | 144 | 12/19/2025 |
| 0.2.11-pre | 153 | 12/19/2025 |
| 0.2.10-pre | 217 | 12/17/2025 |
| 0.2.9-pre | 218 | 12/17/2025 |
| 0.2.7-pre | 223 | 12/17/2025 |
| 0.2.6-pre | 224 | 12/17/2025 |
| 0.2.5-pre | 235 | 12/16/2025 |
| 0.2.4-pre | 219 | 12/15/2025 |
| 0.2.3-pre | 205 | 12/15/2025 |