Grizlah.Steganography.F5.StegSharp.Infrastructure
1.0.10
dotnet add package Grizlah.Steganography.F5.StegSharp.Infrastructure --version 1.0.10
NuGet\Install-Package Grizlah.Steganography.F5.StegSharp.Infrastructure -Version 1.0.10
<PackageReference Include="Grizlah.Steganography.F5.StegSharp.Infrastructure" Version="1.0.10" />
paket add Grizlah.Steganography.F5.StegSharp.Infrastructure --version 1.0.10
#r "nuget: Grizlah.Steganography.F5.StegSharp.Infrastructure, 1.0.10"
// Install Grizlah.Steganography.F5.StegSharp.Infrastructure as a Cake Addin #addin nuget:?package=Grizlah.Steganography.F5.StegSharp.Infrastructure&version=1.0.10 // Install Grizlah.Steganography.F5.StegSharp.Infrastructure as a Cake Tool #tool nuget:?package=Grizlah.Steganography.F5.StegSharp.Infrastructure&version=1.0.10
F5-StegSharp - Steganography Library for .NET
F5-StegSharp is a cross-platform lightweight and efficient C# library providing seamless integration of the F5 steganography algorithm in .NET applications. Supports baseline color JPEG images, each step in baseline jpeg encoding, matrix encoding, and adaptive embedding. Ideal for secure data transmission through image files.
Features
- Implementation of each step in baseline jpeg compression. This includes:
- Color space conversion (RGB → YCbCr)
- 2-D Discrete Cosine Transformation
- Quantization
- Run-Length Encoding
- Huffman encoding
- Implementation of F5 steganography algorithm for hiding and extracting messages
- Matrix encoding and adaptive embedding for improved robustness
- Permutative Straddling for dispersing coefficient changes
Installation
Install the NuGet package using the Package Manager Console: PM> Install-Package Grizlah.Steganography.F5.Infrastructure
Or search for F5-StegSharp
in the NuGet Package Manager in Visual Studio.
Usage
After installing the package, register the library's services in your DI container:
public void ConfigureServices(IServiceCollection services)
{
services.AddF5Services();
}
Hiding a message in a JPEG image
using StegSharp.Application.Common.Interfaces;
// ...
var stegoService = serviceProvider.GetService<IF5Service>();
stegoService.Embed(image, "password", "Your Secret message", binaryWriter);;
Extracting a message from a JPEG image
// ...
using StegSharp.Application.Common.Interfaces;
var stegoService = serviceProvider.GetService<IF5Service>();
string message = stegoService.Extract("password", binaryReader);;
License
This project is licensed under the MIT License.
Support
If you encounter any issues or have questions, please open an issue on the GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net6.0
- Grizlah.Steganography.F5.StegSharp.Application (>= 1.0.5)
- Grizlah.Steganography.F5.StegSharp.Domain (>= 1.0.1)
- MethodTimer.Fody (>= 3.2.1)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 2.1.1)
- SkiaSharp (>= 2.88.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.