Skip to content

110213018/steganography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Steganography

Theme: Preventing Unauthorized Leaks of Unreleased Posters
Scenario: Xiao Ming, the person responsible for movie promotional posters, wants to prevent the original poster files from being leaked before the release date. He embeds hidden messages (QR codes) into the poster files sent to different recipients: the printing company, the production company, and the movie director. Each poster contains a unique QR code corresponding to its recipient, allowing the source of any leak to be traced.

Workflow

  1. Xiao Ming uses encrypt.go to embed QR codes in the original poster and sends them to:
    • Printing company (QR: PRINT)
    • Production company (QR: COMPANY)
    • Movie director (QR: DIRECTOR)
  2. If a poster leaks before the release date, the leaked file (marked.png) is downloaded.
  3. decrypt.go is used to decode the QR code in the leaked poster to determine which recipient leaked it.

Usage

  • encrypt.go: Embeds three different QR codes into the original poster for each recipient (printing company / production company / director).
    Command:

    go run encrypt.go

    Output: Three stego posters (e.g., marked_print.png, marked_company.png, marked_director.png)

  • decrypt.go: Decrypts a leaked poster file (e.g., marked.png) to extract the embedded watermark (QR code) and identify the source of the leak. Command:

    go run decrypt.go

    Output: Decoded watermark (text or image)

Project Structure (Example)

steganography/
├── encrypt.go         # Steganography encoder
├── decrypt.go         # Decoder for extracting watermark
├── poster.png         # Original poster (example)
├── README.md

Notes & Recommendations

  • Privacy & Legal: Consider data protection and legal regulations when handling sensitive or confidential files.
  • Security: For more accurate tracking, embed encrypted or signed QR codes with timestamps to prevent forgery.
  • Backup: Keep original unmarked posters and a record of unique IDs for each recipient for verification.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages