Thread: Making Self-Decrypting EXE file

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    1

    Angry Making Self-Decrypting EXE file

    Hi,

    I want to make an Encryption/Decryption program. I want that my program should make a Self-Decrypting EXE file. If this file is run, it should ask password and then extract the original file.

    Please suggest from where I can get detailed information on this.

  2. #2
    Registered User mlupo's Avatar
    Join Date
    Oct 2001
    Posts
    72
    I'm not real sure if this site will help you, but they are a well known encryption/security solutions provider.

    http://www.rsasecurity.com/
    NEVER PET YOUR DOG WHILE IT'S ON FIRE!

  3. #3
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    like winzip does? hmm...
    create a huge array, and assign a program file to it. you might want another program to hard-wire the data into your source code. before you do that, you probably want to encrypt it first.

  4. #4
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    An idea:
    First is could encrypt the data, then you're program should make an program (exe-file). This program should have a pointer to the encrypted data and should know how to decrypt it and then write it to a new file.

    The following two links are about self-extractors, I know it is not exactly what you want. But maybe it gives an idea of about how it could be done.

    www.codeproject.com/file/self_extractor.asp
    http://www.disoriented.com/FreeExtractor/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File Writing Problem
    By polskash in forum C Programming
    Replies: 3
    Last Post: 02-13-2009, 10:47 AM
  2. Need Help Fixing My C Program. Deals with File I/O
    By Matus in forum C Programming
    Replies: 7
    Last Post: 04-29-2008, 07:51 PM
  3. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  4. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  5. How I can Run exe file in C++
    By palang in forum C++ Programming
    Replies: 2
    Last Post: 05-10-2006, 11:55 AM