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

Originally Posted by high6 View Post

Also what was wrong with the original decryption?


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

Reply With Quote