Mast3rpyr0 Posted June 16, 2007 Share Posted June 16, 2007 (edited) I am trying to create a program that will allow a user to select an image file and click a button and it will change the first 4 rows of its hex code(keys?) to null bytes and saving the old bytes in a file to add back later(which is the full function of the program, basically image encryption) e.g.Would this be possible? i have gone through the help file and have only seen 2 hex functions and they dont seem to do anything i want to do. Edited June 16, 2007 by Mast3rpyr0 My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted June 16, 2007 Author Share Posted June 16, 2007 ok i figured out a way that i can export a hexfile and edit it but now i need hex workshop to work with my program but not actually come up. any way i can do this or maybe another command line hex editor? My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
Siao Posted June 16, 2007 Share Posted June 16, 2007 In AutoIt it's called Binary. FileOpen with binary mode flag, then FileRead/FileWrite what you need... "be smart, drink your wine" Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted June 16, 2007 Author Share Posted June 16, 2007 ok that looks like it will work but i need it to write at the begin of the file. or another way i thought might work is actually splitting the file in half and storing it as 2 separate files and then put it back together much like winrar and splitting archives into 700MB parts. i would rather do this if possible My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now