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 1097557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:27:07+00:00 2026-05-17T00:27:07+00:00

I am working on a small project and need your help. Here are the

  • 0

I am working on a small project and need your help. Here are the details:

  • My project is in VC++ 2008
  • I need to store some critical resource files bundles with my project exe in encrypted form
  • While running the exe, I want to decrypt and use these files on the fly (without storing decrypted files in temp location)
  • The files in question are binary files
  • Project is small and simple
  • Encryption can be simple or moderately secure

I am looking for a encryption library/sdk/toolkit for a simple project, the library should have following requirements

  • It should be small and simple to work with, I dont need lots of features and I am short on development time
  • It should be free to use
  • It should be able to decrypt streams, or decrypt files directly in memory without storing them in any temp location
  • It should have good tutorials/examples/community support, I am short on development time
  • It should support more than one encryption strategies so that I should be able to switch to a better algorithm if needed, without changing library

I am really new to encryption libraries, kindly give your suggestion and I’ll do background research on my own.

Edit

Also, can you suggest a good way to hide my key inside an EXE? This is an click-and-run application without any registration or installation.

  • 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-17T00:27:08+00:00Added an answer on May 17, 2026 at 12:27 am

    Will decrypt key be hardcoded in your program, or supplied from eg. a license file?

    If hardcoded, don’t bother looking for any type of fancy encryption, all you can hope for is a (very thin!) layer of obfuscation – even a simple XOR scrambling would be no worse than AES.

    That said, check out TomCrypt or Crypto++.

    EDIT

    You could also opt for something really simple such as TEA. Or you could stick with simple XOR encryption and compress your executable; a nice property of single-byte XOR encryption is that the encrypted data will still be compressible 🙂 (caveat emptor: exe compression sometimes triggers false positives in antivirus apps).

    The thing to keep in mind is that “if it runs, it can be broken”, so focus on diverting casual prying eyes and forget about securing against “really interested people” – it takes a lot of effort and knowledge to do anything remotely successful.

    EDIT 2

    For “hiding” the decryption key, you can simply store the binary key (what the decryption algorithm itself uses) rather than a textual representation – or you could use a string of gibberish. Doesn’t matter much, casual users won’t be able to use the key anyway, and you can’t hide it from determined people 🙂

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

Sidebar

Related Questions

I'm working on a small project to help me tag content on Flickr. I've
For a small project I'm working on I need to cycle through a list.
I'm working on a small project in VB.Net where I get a input from
I'm currently working on a small project with OCaml; a simple mathematical expression simplifier.
I'm trying to learn GNUMake for a small project I'm working on. So far,
I'm working on a small UML editor project, in Java, that I started a
I've been working with a small group of people on a coding project for
I've been working on a project that can't be described as 'small' anymore (40+
I'm working on a project where I need to generate end-user documentation for a
I've been quite used to working on small projects which I coded with 1,000

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.