XlsxCrypt.NativeExcelEncryption
1.0.0
See the version list below for details.
dotnet add package XlsxCrypt.NativeExcelEncryption --version 1.0.0
NuGet\Install-Package XlsxCrypt.NativeExcelEncryption -Version 1.0.0
<PackageReference Include="XlsxCrypt.NativeExcelEncryption" Version="1.0.0" />
<PackageVersion Include="XlsxCrypt.NativeExcelEncryption" Version="1.0.0" />
<PackageReference Include="XlsxCrypt.NativeExcelEncryption" />
paket add XlsxCrypt.NativeExcelEncryption --version 1.0.0
#r "nuget: XlsxCrypt.NativeExcelEncryption, 1.0.0"
#:package XlsxCrypt.NativeExcelEncryption@1.0.0
#addin nuget:?package=XlsxCrypt.NativeExcelEncryption&version=1.0.0
#tool nuget:?package=XlsxCrypt.NativeExcelEncryption&version=1.0.0
XlsxCrypt.NativeExcelEncryption
Native .NET library for password-based encryption of Excel .xlsx workbooks.
Features
- Native .NET implementation
- Excel-compatible workbook encryption
- Supports password-protected
.xlsxfiles - Uses the Office Agile Encryption format
- No EPPlus dependency
- No ClosedXML dependency
- No Microsoft Office installation required
- Designed for server-side and automated environments
Installation
Install the NuGet package:
dotnet add package XlsxCrypt.NativeExcelEncryption
Or from the NuGet Package Manager:
Install-Package XlsxCrypt.NativeExcelEncryption
Usage
using XlsxCrypt.NativeExcelEncryption;
// Example:
//
// XlsxCrypt.NativeExcelEncryption.Encrypt(
// "input.xlsx",
// "encrypted.xlsx",
// "your-password");
API details may vary depending on the version of the library.
Why XlsxCrypt?
XlsxCrypt provides a native .NET approach to Excel workbook encryption without requiring third-party Excel manipulation libraries or an installed Microsoft Office application.
The goal is to provide a lightweight solution for applications that need to generate or protect Excel workbooks programmatically.
Compatibility
The encrypted workbook uses Microsoft's Office Agile Encryption format and is intended to be compatible with Microsoft Excel.
Always test encrypted files with the Excel versions and environments relevant to your application.
Security
This library implements cryptographic operations used by the Office encryption format.
Security-sensitive software should be reviewed and tested appropriately before being used for highly sensitive or regulated data.
Do not use weak passwords.
Requirements
- .NET 10
- Windows
License
MIT License.
See the LICENSE
| 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. |
-
net10.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.