AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RC4 Encryption with Binary Nul

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Obi-Wahn



Joined: 20 Apr 2006
Posts: 29
Location: Vienna

PostPosted: Sat Jul 05, 2008 9:11 am    Post subject: RC4 Encryption with Binary Nul Reply with quote

Hi!

I've a lil problem with Laszlos RC4 encryption.
( http://www.autohotkey.com/forum/viewtopic.php?t=6804&highlight=rc4txt2hex )

The Problem is, that I'd like to read several .zip-Files and Crypt it with RC4 to a Hex-Stream, and Decrypt it to the original zip-File if I need it. But the Zip-Data has Nul-Bytes, and it doesn't work so.
After searching the forums, I've found a Script für Binary Read and Write from PhiLho, which could solve my problem, If I'd understand how this work.
( http://www.autohotkey.com/forum/viewtopic.php?t=7549&highlight=binary+read+write )

So my Problem is (at least this one), I've no friggin Idea how I can fix this.

It'd be enoungh (hopefully) If someone would show me a easy-to-understand example.

Thanks
Obi-Wahn


BTW: This doesn't point out to: I've to crypt some data, this point out to: I need the Hex-Code of the .zip-File.
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Sat Jul 05, 2008 9:47 am    Post subject: Reply with quote

i prefer to use Laszlo's binread() because of it's simplicity
Back to top
Obi-Wahn



Joined: 20 Apr 2006
Posts: 29
Location: Vienna

PostPosted: Sat Jul 05, 2008 11:58 am    Post subject: Reply with quote

Hi!

Thanks, but at the moment I realized, that It wouldn't be durable, because the archives are between 100 and 150 MB, that'd be a file of
apx. 2 GB (!!!) with hex-codes...
So thanks, but this is pretty much a dead solution...

Thanks Anyway.
O-W
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group