Git Product home page Git Product logo

wavsteg's Introduction

wavSteg

A command line interface based program for wav audio Steganography.
it uses an algorithm that I've developed in which there are 2 steps to encoding an wav file.

๐Ÿ”Ž find closest ascii character in PCM data, and insert value to the corresponding index.
๐Ÿ“Œ Mark the previous index

Limitations And Encoding / Decoding times

Since the program stores the data linearly and depends on the previous encoded index, doing so makes it a whole lot more diffcult to make the program multi-threaded which increases the compute time. however, since the index is cached the encoding computation isn't relooping the entire PCM data, which makes it easier to compute.

Installation

  1. Install go-lang from offical website
    https://go.dev/doc/install

  2. build program go build wavSteg.go

Running the Program

  1. Place .wav file to encode inside input folder.
  2. Place text file(or any other file that you can read from) inside input folder.
   Usage:
  -audio string
    	Audio file name
  -decode
    	Decode flag (default true)
  -encode
    	Encode flag
  -message string
    	Encode message with Command Line Interface message
  -tfile string
    	Encode message with provided text file name

encoding example:

./wavSteg -audio=input/sample-file-2.wav -tfile=input/toEncode.txt -encode=true
./wavSteg -audio=input/sample-file-2.wav -message "hello world!" -encode=true

decoding example:

./wavSteg -audio=enc_file.wav -decode=true

Encoded audio and Decoded file will be saved to results directory.

Disclaimer

This program is a proof-of-concept, and should not be intended for transfring important information, and I won't be liable for any damagaes caused by this program.

Copyright

This software is licensed under MIT. Copyright ยฉ 2022 Rani Giro

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.