DAMN YOU ALL genius people
or more like DAMN YOU java (for me it's a 'language from planet')
I've been trying many things but none of them works
Please try to make this noob understand how to encode/decode dat files. I'd like to start from how to convert the encoded version into a readable version. I'm learning from Silva's code, but also read BP's to help me understand. but....
1. Count to 123 first - does that mean the first 123 characters are unused? Or... I don't have any idea, probably this is what makes me fail coz I don't even have any idea what else to try about this
2. b=(byte)finp.read(); --> I can't find this on my dictionary. What does this mean in this planet's language?
3. d = DecryptByte(counta,b); ---> does DecryptByte give you the KeyAscii (keycode or sth) from the character? But if so, I don't understand why there must be the variable 'b' behind it.
4. System.out.print((char)d); ---> does this prints the character stored in variable 'd' ? which is the result of DecryptByte(counta,b) ? But that's strange, I can't see where you modify / encode the byte :0 .
And damn you gravedigging warning
. And damn me
.
and thanks for replying and helping
!!
EDIT:
Finally
. Chiko explained all to me.
So the first 123 chars are useless.
We subtract the 'KeyAscii' of the 124th character with the 'KeyAscii' of the 1st char of the encryption key.
then the 125th character with the 2nd char from the key, so on.
When we get to the end of the encryption key, go back to the first character.
Oooooooo....... not it works, I have to open another thread
or more like DAMN YOU java (for me it's a 'language from planet')
I've been trying many things but none of them works

Please try to make this noob understand how to encode/decode dat files. I'd like to start from how to convert the encoded version into a readable version. I'm learning from Silva's code, but also read BP's to help me understand. but....
1. Count to 123 first - does that mean the first 123 characters are unused? Or... I don't have any idea, probably this is what makes me fail coz I don't even have any idea what else to try about this
2. b=(byte)finp.read(); --> I can't find this on my dictionary. What does this mean in this planet's language?
3. d = DecryptByte(counta,b); ---> does DecryptByte give you the KeyAscii (keycode or sth) from the character? But if so, I don't understand why there must be the variable 'b' behind it.
4. System.out.print((char)d); ---> does this prints the character stored in variable 'd' ? which is the result of DecryptByte(counta,b) ? But that's strange, I can't see where you modify / encode the byte :0 .
And damn you gravedigging warning
. And damn me
.and thanks for replying and helping
!!EDIT:
Finally
. Chiko explained all to me.So the first 123 chars are useless.
We subtract the 'KeyAscii' of the 124th character with the 'KeyAscii' of the 1st char of the encryption key.
then the 125th character with the 2nd char from the key, so on.
When we get to the end of the encryption key, go back to the first character.
Oooooooo....... not it works, I have to open another thread
TEMPE
Spoiler (Click to View)

Chat
