Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 10:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Cryptography

Discussion on Cryptography within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2018
Posts: 70
Received Thanks: 28
Cryptography

Hi

I am using 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.
Nortank is offline  
Old 07/03/2019, 21:44   #2
 
WalrossGreat's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 871
Received Thanks: 1,229
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)
WalrossGreat is offline  
Thanks
2 Users
Old 07/03/2019, 23:24   #3

 
FI0w's Avatar
 
elite*gold: 50
Join Date: Jul 2014
Posts: 1,699
Received Thanks: 1,165
Quote:
Originally Posted by Nortank View Post
Hi

I am using 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
FI0w is offline  
Thanks
1 User
Old 07/04/2019, 18:48   #4
 
elite*gold: 0
Join Date: Dec 2018
Posts: 70
Received Thanks: 28
The cryptography is supposed to be based on cryless' one : the only one (I think) public.
@ : packet_mask is "11111100011111101" when I send ""say 123&é\"" (last char is just ' " ', not ' \" '). Could you give me yours, please ?
Nortank is offline  
Old 07/04/2019, 19:12   #5
 
Gilgameš's Avatar
 
elite*gold: 182
Join Date: Oct 2011
Posts: 5
Received Thanks: 2
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.


Gilgameš is offline  
Thanks
1 User
Old 07/04/2019, 19:33   #6
 
elite*gold: 0
Join Date: Dec 2018
Posts: 70
Received Thanks: 28
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
Nortank is offline  
Old 07/05/2019, 03:29   #7
 
Roxeez's Avatar
 
elite*gold: 0
Join Date: Jun 2019
Posts: 102
Received Thanks: 228
Idk about é, ( etc ..
But i've added %, $, / in the "packet mask" part for supporting commands/whispers that's probably you problem
Roxeez is offline  
Reply


Similar Threads Similar Threads
[Release] The New Cryptography [Cast-128/Cast-5]
08/10/2011 - CO2 PServer Guides & Releases - 53 Replies
That's right... I decided to because everyone who shouldn't have it has already figured it out... and it's starting to spread quickly. There really isn't any reason to keep it secret anymore. Noobs that get hold of it can't code the patch anyways. Open where your Blowfish is... You'll see the "BF_set_key" and "BF_cfb64_encrypt" voids. Replace those with "CAST_set_key" and "CAST_cfb64_encrypt". The new key for it is "BC234xs45nme7HU9". Done.
[Release]5017 Password Cryptography
06/22/2011 - CO2 PServer Guides & Releases - 10 Replies
-5017+ Will work with Lower Versions but not all Will work with Higher versions but not all Create a new .cs file if you wish and paste this class:
Password Cryptography
03/03/2011 - CO2 Private Server - 13 Replies
#Problem solved Thank You everybody, I Appreciate this.
Client Server Cryptography?
07/14/2009 - Archlord - 7 Replies
i was wondering, the communication between alefcient and the game server is encrypted, and alefclient binary seems to use Cryptography API (CNG) with most of its functions like: BCryptCloseAlgorithmProvider BCryptCreateHash BCryptDecrypt BCryptDeriveKey BCryptDestroyHash BCryptDestroyKey BCryptDestroySecret BCryptDuplicateHash



All times are GMT +1. The time now is 11:00.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.