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
Goto page Previous  1, 2, 3
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
admiralkeyboard
Guest





PostPosted: Tue Jul 04, 2006 3:46 pm    Post subject: Reply with quote

great script,
I am doing something very similiar, encoding, storing it in an ini file, then decoding, I just wondered how to use this script to decode something?
Back to top
Laszlo



Joined: 14 Feb 2005
Posts: 4710
Location: Boulder, CO

PostPosted: Tue Jul 04, 2006 4:20 pm    Post subject: Reply with quote

Laszlo wrote:
...this code fails if there is a NUL character in the ciphertext. Use instead the hex-stream version.
Back to top
View user's profile Send private message
i3egohan



Joined: 18 Jul 2006
Posts: 403

PostPosted: Sat Apr 21, 2007 3:30 pm    Post subject: Reply with quote

for people who is using this to avoid possible problems add

Code:
StringReplace Data, Data, %, `%, All


or ahk debugger will think that you havent finished the variable.

i3egohan
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4710
Location: Boulder, CO

PostPosted: Sat Apr 21, 2007 4:46 pm    Post subject: Reply with quote

You might have problems with all the non-printable characters, the escape character (`) and comment (;, /*, */) if you cut and paste the result into a script. If you just keep the result in a variable, only the NUL characters cause troubles, but they are bad enough.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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