Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Extensions » Stars! decryption
Re: Stars! decryption Tue, 31 July 2018 18:00 Go to previous messageGo to previous message
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 222
Registered: January 2012
Location: NC
raptor wrote on Tue, 31 July 2018 13:08
It shows that the header block is not encrypted and that a salt is pulled out from it. This salt is used to encrypt/decrypt the rest of the blocks and is different for every file (I think) - which is why there will always be differences.

Since the password is in the PlayerBlock, it is also encrypted with the salt and will be different between files at the byte level.

Yes, I know the FileHeaderBlock is not encrypted, and that the password, as part of the PlayerBlock, will be encrypted. The salt is pulled from the FileHeaderBlock, and then randomness is initialized with is a combination of the Game ID (which is vaguely unique), the turn, the player #, and the shareware state.

Thanks for the idea. Digging into this, the seed does look to be different between the two different 2401 files. That's awesome. It must be a (more) true random number assigned when the turn is created, which explains the difference in the files, and gives me hope that this will work on .m files as well as .hst files.



https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stars!tools: merging and fuel usage
Next Topic: Stars! API
Goto Forum:
  


Current Time: Fri May 03 09:47:07 EDT 2024