User Profile

Collapse

Profile Sidebar

Collapse
shippwreck
shippwreck
Last Activity: Dec 23 '15, 12:26 PM
Joined: Sep 21 '15
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Ah, well at least we have got to the bottom of it!

    I have added a new version of the Excel tool that I built around your code.

    Thanks very much for all your work on this it will really help me out!!!...
    See more | Go to post

    Leave a comment:


  • Thanks, I took a look and at the heart of it, your RC4 is (as you say) based on Rabbit's and produces the same results that I see in my version... which as far as I can work out is different to others on the internet???

    For the record, I don't think that Rabbit's code is wrong, if there was an error in it, i'm sure it would have been spotted in the nearly 5 years since it was created ;-) I am assuming that I must be mis-interpreting...
    See more | Go to post
    Last edited by shippwreck; Sep 22 '15, 07:02 PM. Reason: Removed attachment because code was incorrect, next post has the corrected code

    Leave a comment:


  • hmmm, thanks for getting back so quick, I'm still however not able to validate it. So that you know I'm using Excel 2013 on Windows 10. I have created a new blank spreadsheet, pasted the code in the article (not from the attached sheet) into the code module for Sheet1 and commented out the lines you mentioned. I have then added a quick sub with one line, Debug.Print RunRC4("test", "Key"). It outputs:

    _J€R...
    See more | Go to post

    Leave a comment:


  • Sorry, I meant that when I encrypt the string with the VBA it returns the Hex above, but when I put that Hex output through a different decrypting tool it returns the ASCII which is obviously not the original message, anyway...

    What you're saying is that because your implementation drops the first 3072 bytes for added security it wont produce the same output as the site I mentioned. What would I need to do to replicate the sites output....
    See more | Go to post

    Leave a comment:


  • Hi,

    I have been looking at your RC4 example above and believe that I have it working. For example to encrypt the string "Test" with the key "Key" (both without quotes) it returns:

    9F2C10F8

    This will decrypt fine within the tool as well (as will any other data I throw into it) however when I try and validate the work against an independent implementation of RC4 on the internet, such as h...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...