Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 38039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:38:42+00:00 2026-05-10T14:38:42+00:00

So, to simplify my life I want to be able to append from 1

  • 0

So, to simplify my life I want to be able to append from 1 to 7 additional characters on the end of some jpg images my program is processing*. These are dummy padding (fillers, etc – probably all 0x00) just to make the file size a multiple of 8 bytes for block encryption.

Having tried this out with a few programs, it appears they are fine with the additional characters, which occur after the FF D9 that specifies the end of the image – so it appears that the file format is well defined enough that the ‘corruption’ I’m adding at the end shouldn’t matter.

I can always post process the files later if needed, but my preference is to do the simplest thing possible – which is to let them remain (I’m decrypting other file types and they won’t mind, so having a special case is annoying).

I figure with all the talk of Steganography hullaballo years ago, someone has some input here…

(encryption processing by 8 byte blocks, I don’t want to save pre-encrypted file size, so append 0x00 to input data, and leave them there after decoding)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T14:38:43+00:00Added an answer on May 10, 2026 at 2:38 pm

    No, you can add bits to the end of a jpg file, without making it unusable. The heading of the jpg file tells how to read it, so the program reading it will stop at the end of the jpg data.

    In fact, people have hidden zip files inside jpg files by appending the zip data to the end of the jpg data. Because of the way these formats are structured, the resulting file is valid in either format.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

(I made some changes...) very often I want to simplify the function's argument, or
To help simplify debugging of some custom Objective-C objects in the Xcode debugger window,
I'm trying to simplify some code by putting the ViewModel models into the code
I just want to simplify what I am doing before, having multiple php files
I am trying to simplify some of the bookmarklets that I have created over
I shall simplify the code slightly in the hopes that someone can shed some
To simplify escaping strings using mysql_real_escape_string I was hoping to be able to write
I have been trying to use MongoLabs api to simplify my life, and for
Based on suggestions from svick, I believe I can substancially simplify my post and
To simplify the question, I have a single textbox control which I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.