Skip to content

Freder211/Strega

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
www
 
 
 
 
 
 
 
 
 
 
 
 

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