An open API service indexing awesome lists of open source software.

https://github.com/aavision/text-in-text

Text-in-text is a CLI tool built using GO. The idea behind that tool is to hide text inside text and use plaintext steganography. πŸ‘ΎπŸ”Ž
https://github.com/aavision/text-in-text

Last synced: 4 months ago
JSON representation

Text-in-text is a CLI tool built using GO. The idea behind that tool is to hide text inside text and use plaintext steganography. πŸ‘ΎπŸ”Ž

Awesome Lists containing this project

README

          

# Text-in-Text :star:

**Text-in-text is a CLI tool built using GO. The idea behind that tool is to hide text inside text and use plaintext steganography.**



## Used Technologies :hammer_and_wrench:
- Go 1.22.4
- Cobra 1.8.1

## Usage :rocket:

The tool can encode and decode the texts, and it takes the following attributes:

- Encoding:
```bash
go run .\main.go encode --text "This is a cover text." --secret "Secret" --password "aavision"
```
```bash
Usage:
text-in-text encode [flags]

Flags:
-h, --help help for encode
--secret string A secret to be hidden!

Global Flags:
--password string A password to protect your text!
--text string An encoded text to extract secret from it!
```

**The encoding will generate a file with a timestamp name, and it will contain the cover text encoded.**

- Decoding:

```bash
go run .\main.go decode --path "1234111.txt" --password "aavision"
```

```bash
Usage:
text-in-text decode [flags]

Flags:
-h, --help help for decode
--path string Path of file

Global Flags:
--password string A password to protect your text!
--text string An encoded text to extract secret from it!
```

## Build :whale:

- Regular:
```bash
go build
```

- Building the Docker Image:
```bash
docker build -t text-in-text:latest .
```
- Running the Docker Container:
```bash
docker run text-in-text ...
```

## Unit Testing :wrench:

```bash
go test
```

## LICENSE :balance_scale:

This project is licensed under the MIT License. See the [LICENSE](https://github.com/AAVision/text-to-text/blob/main/LICENSE) file for details.