steganograph

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

steganograph

Steganograph #

Steganograph is a Dart library which supports hiding mesages in images using Least Significant Bit steganography.
Install 🚀 #
In the pubspec.yaml of your Flutter/Dart project, add the following dependency:
dependencies:
steganograph: ^2.0.0
copied to clipboard
Import the package in your project 📥 #
import 'package:steganograph/steganograph.dart';
copied to clipboard
Embed messages 🔏 #
// this returns an image file with the resulting image unaltered
// except now it has some secret embedded message
File? stegoImageFile = await Steganograph.cloak(
image: File('sample_image.jpg'),
message: 'Some secret message',
outputFilePath: 'result.png',
);
copied to clipboard
Or
Uint8List? stegoImageBytes = await Steganograph.cloakBytes(
imageBytes: Uint8List(...), // cover image byte array
message: 'Some secret message',
outputFilePath: 'result.png',
);
copied to clipboard
Extract embedded messages 📨 #
String? message = await Steganograph.uncloak(File('result.png'));

// Or

String? message = await Steganograph.uncloakBytes(stegoImageBytes);
copied to clipboard
Supported image formats 🗂 #
Currently, you can embed messages in:

PNG
JPEG
WebP
BMP
GIF
ICO
PNM
PSD

Contributions 🫱🏾‍🫲🏼 #
Feel free to contribute to this project.
If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a feature, please send a pull request.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.