セーブデータ: Difference between revisions
Matyapiro31 (talk | contribs) |
Matyapiro31 (talk | contribs) |
||
Line 1: | Line 1: | ||
====セーブデータについて==== | ====セーブデータについて==== | ||
=== 暗号化方式 === | === 暗号化方式 === | ||
3DSのセーブデータはゲームカートにまさにDSのそれと同じように保存されています。 | |||
DSではこのようなセーブデータはそのまま保存されていましたが、3DSにおいては暗号化して保存する仕組みが加わりました。 | |||
これはとても に似ています。 | |||
This is highly likely a streamcipher, as the contents of several savegames exhibit the odd behaviour that xor-ing certain parts of the savegame together will result in the plaintext appearing. | |||
The reason this works is because the streamcipher used has a period of 512 bytes. That is to say, it will repeat the same keystream after 512 bytes. The way you encrypt with a streamcipher is you XOR your data with the keystream as it is produced. Unfortunately, if your streamcipher repeats and you are encrypting a known plaintext (in our case, zeroes) you are basically giving away your valuable keystream. | The reason this works is because the streamcipher used has a period of 512 bytes. That is to say, it will repeat the same keystream after 512 bytes. The way you encrypt with a streamcipher is you XOR your data with the keystream as it is produced. Unfortunately, if your streamcipher repeats and you are encrypting a known plaintext (in our case, zeroes) you are basically giving away your valuable keystream. |