StegoCore 1.0.0

dotnet add package StegoCore --version 1.0.0
                    
NuGet\Install-Package StegoCore -Version 1.0.0
                    
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="StegoCore" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StegoCore" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="StegoCore" />
                    
Project file
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 StegoCore --version 1.0.0
                    
#r "nuget: StegoCore, 1.0.0"
                    
#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 StegoCore@1.0.0
                    
#: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=StegoCore&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=StegoCore&version=1.0.0
                    
Install as a Cake Tool

What is StegoCore

StegoCore is a high-performance steganography library for .NET 8. Hide secret data inside images using optimized algorithms with significant performance improvements.

Build and Test

More info about this project on https://pawelskaruz.pl/category/daj-sie-poznac-2017/

Installation

StegoCore is available on nuget and MyGet (dev build).

Package manager

Install-Package StegoCore -Version 1.0.0

.NET CLI

dotnet add package StegoCore --version 1.0.0

What's New in v1.0.0

🚀 Major Performance Improvements

  • 4.6x faster LSB algorithm performance
  • 12.3x less memory allocation
  • Updated to .NET 8 with enhanced nullable reference types
  • ImageSharp 3.1.11 for the latest image processing optimizations
  • Comprehensive benchmarking infrastructure with BenchmarkDotNet

Getting started

StegoCore is using ImaheSharp as image processing library.

To hide some secret data inside an image do following:

byte[] secretData = System.IO.File.ReadAllBytes("secret.data");
using(var stego = new Stego("someimage.jpg"))
{
    stego.SetSecretData(fileBytes);
    Image<Rgba32> secretImage = stego.Embed(AlgorithmEnum.Lsb);
}

Pretty simple, right? 😃 Now you can save the image with secret. But how to extract secret from image? It's even simpler.

using(var stego = new Stego("secretImage.jpg"))
{
    byte[] secret = stego.Decode(AlgorithmEnum.Lsb);
}

Right now there are 2 steganography algorithms implemented:

  • LSB (least significant bit)
  • Zhao & Koch (algorithm based on DCT)

These algorithms can be parameterized. You can pass a key parameter, which will be used as random seed to determine where to hide secret data:

stego.SetSettings(new StegoCore.Model.Settings
    {
        Key = "aaa"
    });
Product 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.

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.0 103 8/16/2025
0.3.1 945 4/11/2019
0.3.0 738 4/11/2019

v1.0.0: Major upgrade to .NET 8 with 4.6x performance improvements in LSB algorithm, updated ImageSharp to 3.1.11, added benchmarking infrastructure, and enhanced nullable reference types support.