View Single Post
  #6  
Old 10-20-2011, 10:28
TmC TmC is offline
VIP
 
Join Date: Aug 2004
Posts: 330
Rept. Given: 1
Rept. Rcvd 15 Times in 9 Posts
Thanks Given: 2
Thanks Rcvd at 23 Times in 17 Posts
TmC Reputation: 15
UPDATE2: I think i got a hold on the whole damn thing... The problem is the following(yet to disclose how to fix it though...):

a) if I load the encrypted text from a file into a string and decrypt that string, the whole damn thing breaks.
b) if I load the encrypted text from a constant string hardcoded into rad studio xe, the whole damn thing breaks.
c) if I load the encrypted text from a Memo.Text and execute RC6Decrypt(Memo1.Text), THE WHOLE DAMN THING WORKS AND DECRYPTS SUCCESFULLY.

So...I am now trying to understand why loading it in a textbox makes it succeed while loading from a string it kills himself...

Worse...if i load the encrypted text into a string, and then send it to Memo, the thing FAILS, if i copy from the encrypted file the binary data and paste it directly into memo, the thing WORKS...

Does this make any sense?
Reply With Quote