View Single Post
  #13  
Old 10-23-2011, 09:27
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
Quote:
Originally Posted by Kerlingen View Post
I can see this. The problem is that licdata is never assigned any value. You use licdata[0], licdata[1], ... licdata[14] in your code, but the array doesn't contain anything, it is just completely empty.

You also use actcode := in your code, but actcode is no variable parameter. You overwrite it before evaluating the value which was passed to the procedure.
Now I understand what you were saying. licdata[] IS initialised with values...the assignment is not reported to not prolong the code too much... you have a PM with real routine.

Quote:
Originally Posted by Kerlingen View Post
Neither DCPcrypt nor DCPcrypt2 have a function called RC6Decrypt. They just have a RC6 class containing a procedure called DecryptECB which decrypts exactly one block, nothing more or less. You must be using some wrapper for DCPcrypt.
Nope...I use the code suggested to decrypt or encrypt a string in the html help files bundled with the control. The code is not part of DCPCrypt 2 itself but it is suggested in the help file... (i did copy/paste...and it works perfectly in other delphi versions prior to unicode ones).

Quote:
Originally Posted by Kerlingen View Post
It also looks much like you're using FGInt and some prankster renamed it to BIGInt. (refactoring )
The BIGInt is only FGint renamed to fool some automatic scanners.
Reply With Quote