Skip to content

Freder211/Strega

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strega

Strega is a steganography library written in rust.

Features

It currently supports png file encoding and decoding.

CLI

Encoding

cargo run encode input-file.png "my top secret text!" -o output-file.png
# the output file is optional

Decoding

cargo run decode output-file.png 
> "my top secret text!"
# the output file is optional

WASM

I tried to add web assembly just for fun.

import * as strega from "strega";

const bytes = new Int8Array([]);
const encoded_bytes = strega.encode_file(bytes, "my top secret text!", "png");
strega.decode_file(encoded_bytes, "png");

You can find a really stupid web app example in www/ folder.

Project status

This project is mainly for sperimentation purposes. This is my first project with the rust programming language, so probably some implementations could have been done better. Overall this is not supposed to be a tool that one should use on a regular basis as there are much better options (at least for now!). However everyone is welcome to send pull requests.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published