Sign in to follow this  
Followers 0
Mast3rpyr0

Binary help

4 posts in this topic

#1 ·  Posted (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.

Posted Image

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 by Mast3rpyr0

Share this post


Link to post
Share on other sites



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?

Share this post


Link to post
Share on other sites

In AutoIt it's called Binary.

FileOpen with binary mode flag, then FileRead/FileWrite what you need...


"be smart, drink your wine"

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0