Cryptography

07/03/2019 21:24 Nortank#1
Hi

I am using [Only registered and activated users can see links. Click Here To Register...] in order to handle the packets.

But I am in trouble with one issue : if I write some characters like &, é, ", ', (, ..., it absolutly bugs.

I was thinking that I should change Latin-1 to Windows-1252, I tried but failed. Maybe I did it wrong, maybe that is not the reason ?

Thnak you in advance.

PS : the problem occurs only when I encrypt the data, decryption is ok.
07/03/2019 21:44 WalrossGreat#2
Type letter like "é" raw in Windows-1252, without any in-code converstion from Latin. If it still doesn't work it means that something is wrong with the crypto. I probably have never used the public one, but on the first look I can say it looks bit different than mine, espiecially the "create mask function" (line 270)
07/03/2019 23:24 FI0w#3
Quote:
Originally Posted by Nortank View Post
Hi

I am using [Only registered and activated users can see links. Click Here To Register...] in order to handle the packets.

But I am in trouble with one issue : if I write some characters like &, é, ", ', (, ..., it absolutly bugs.

I was thinking that I should change Latin-1 to Windows-1252, I tried but failed. Maybe I did it wrong, maybe that is not the reason ?

Thnak you in advance.

PS : the problem occurs only when I encrypt the data, decryption is ok.
Yea the problem is the crypto check if you find a fixed one
07/04/2019 18:48 Nortank#4
The cryptography is supposed to be based on cryless' one : the only one (I think) public.
@[Only registered and activated users can see links. Click Here To Register...] : packet_mask is "11111100011111101" when I send ""say 123&é\"" (last char is just ' " ', not ' \" '). Could you give me yours, please ?
07/04/2019 19:12 Gilgameš#5
Quote:
Originally Posted by Nortank View Post
The cryptography is supposed to be based on cryless' one : the only one (I think) public.
It's not the only public nostale crypto out there.

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
07/04/2019 19:33 Nortank#6
I think those two projects are cryless' library rewritten in GO/Node.JS, I didn't found anything that could fix my issue / anything that isn't from Cryless' crypto in the Game Encryption
07/05/2019 03:29 Roxeez#7
Idk about é, ( etc ..
But i've added %, $, / in the "packet mask" part for supporting commands/whispers that's probably you problem