![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi Agraham,
The answers you gave were correct. Especially test4 (my name is Arjan). But when i create a new nickname in the first application, then there will be an error "CryptDecrypt failed at adress 0x8009005" It appears when the original stringlength<6 everything works fine, but when it is 6 or more the abovementioned errormessage is shown. Arrie |
|
||||
|
Quote:
|
|
|||
|
Hi Agraham,
I'm not aware that the data is truncated. can you decrypt this string "a498a0f2283376354b96f58f3b5473f4", when the result is what i expect, the data is ok. The original line (before encryption ) is 9 digits. Thanks, Arrie |
|
|||
|
Oke Agraham,
So if i understood it correct, in the encryption of the data (in the 1st application) the truncade took place, and in the decryption of the data (in the 2nd application, we must use a prefix zero if the secret datapacket is smaller then 16(dec) or F(hex), is this correct ? And if so is this than a bug or just stupid programming from me ![]() Greetings Arrie |
|
||||
|
Quote:
Quote:
|
|
|||
|
Oke, still working on this problem. Now if the original stringlength is unequal ie 15 etc. then the i in the For .... next statement will only go to 7. Is there a function to decide if the stringlength is unequal or equal. I don't know if i stated it correct, but i mean can the stringlength be divided by 2.
Arrie |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Decrypt | Big JR | Questions & Help Needed | 8 | 06-30-2007 08:36 PM |
| Trying to encrypt a file transer | mwaite | Questions & Help Needed | 8 | 06-05-2007 06:02 PM |
| Encrypt / Decrypt a complete file | Erel | Code Samples & Tips | 3 | 06-05-2007 05:20 PM |