View Single Post
  #17  
Old 10-06-2008, 03:03 PM
LibX LibX is offline
Administrator
 
Join Date: Feb 2007
Location: The Netherlands
Posts: 118
Default

Quote:
Originally Posted by high6 View Post
thanks.

Also what was wrong with the original decryption?

Edit:

When I try to run it, it crashes and gives me an invalid program exception.
Sorry didnt respond to this yet, well the problem is the string reading function from Mono Cecil and not the decryption process itself
Cecil uses Encoding.Unicode.GetString against a byte array but in some cases the result from this function isn't correct.
I fixed it with my own function that reads the string as raw bytes first then convert all of them to chars and create a new string out of this wich i then decrypt to get the proper result

Hope this helps

Regards
LibX
Reply With Quote