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

  • Home
  • SEARCH
  • 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 7673673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:33:59+00:00 2026-05-31T16:33:59+00:00

I am writing a simple software protection tool which works by reading the input

  • 0

I am writing a simple software protection tool which works by reading the input file as array of bytes, then encrypts this array of bytes using AES, and store the result into another file which is responsible to decrypt itself.

Till now, the software works like a charm, but there’s only one problem, is that when i encrypt a file, the output file ( protected file ) lose it’s icon, i think because all the file’s resources are encrypted. And therefore the icon is no longer available.

I tried to use a class which is written in my previous question to change the file’s icon after encrypting it, but it seems that is doesn’t work with the encrypted file even it works correctly with any other exe file.

So in order to make this works, i decided to first change the input file’s icon, then ENCRYPT THE FILE WHITHOUT ENCRYPTING IT’S ICON

This should work, if i can only strip the icon’s resources from being encrypted.

How can prevent the input file’s icon from being encrypted ?

  • 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. Editorial Team
    Editorial Team
    2026-05-31T16:34:00+00:00Added an answer on May 31, 2026 at 4:34 pm

    You may encrypt the .exe and append the encrypted data to an existing .exe with the same icon. That icon may also perform the decryption. You should supply the key from outside though.

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

Sidebar

Related Questions

I am writing a simple fly tracking software and I would love some input
I'm currently writing a simple .sh script to parse an Exim log file for
I'm writing a small software application that needs to serve as a simple planning
I'm writing an small software that will be part of an existing application which
I'm writing a piece of P2P software, which requires a direct connection to the
I'm writing a script which requires the Bash version number in a simple short
We are writing simple architectured software in C# 3.5 . What I was searching
I am writing a software which stores all the information of a users interaction
Ok, so here goes my situtation. I am writing a multi site software which
I'm writing a simple vb6 button which tests the access of the registry values.

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.