What password encryptions were typical for NES games?
I'm in the process of doing my own source code for password generation. As a first step, I put the corresponding gameplay variables into a simple byte array. You know, shortening the variables into the least amount of bits that they actually need. Then putting these bits into the array. I will probably also add two bytes for a checksum. That's the easy part so far.
Likewise, turning a byte array into something that the player can input in a readable way should be a mundane task as well.
What I'd like to know: What is a good way to encrypt the byte array with the more or less clear values into another, encrypted byte array?
Preferrably, I'd like to have a method where a single bit change in the original data results in a completely different final, encrypted array. So that the players cannot guess which part of the password stands for which value.
I'm in the process of doing my own source code for password generation. As a first step, I put the corresponding gameplay variables into a simple byte array. You know, shortening the variables into the least amount of bits that they actually need. Then putting these bits into the array. I will probably also add two bytes for a checksum. That's the easy part so far.
Likewise, turning a byte array into something that the player can input in a readable way should be a mundane task as well.
What I'd like to know: What is a good way to encrypt the byte array with the more or less clear values into another, encrypted byte array?
Preferrably, I'd like to have a method where a single bit change in the original data results in a completely different final, encrypted array. So that the players cannot guess which part of the password stands for which value.
Statistics: Posted by DRW — Thu Jun 27, 2024 6:32 am — Replies 2 — Views 134