https://github.com/qalle2/nes-md5
Qalle's MD5 Hasher (NES)
https://github.com/qalle2/nes-md5
6502 assembly cryptography homebrew md5 nes
Last synced: 2 months ago
JSON representation
Qalle's MD5 Hasher (NES)
- Host: GitHub
- URL: https://github.com/qalle2/nes-md5
- Owner: qalle2
- License: gpl-3.0
- Created: 2023-08-28T11:26:44.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-04T09:55:41.000Z (about 2 years ago)
- Last Synced: 2025-03-08T06:42:08.987Z (over 1 year ago)
- Topics: 6502, assembly, cryptography, homebrew, md5, nes
- Language: Assembly
- Homepage:
- Size: 127 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Qalle's MD5 Hasher
Compute an MD5 hash on the NES. The message can be 0–9 bytes long.

Table of contents:
* [List of files](#list-of-files)
* [Text files](#text-files)
* [Image files](#image-files)
* [Other files](#other-files)
* [How to use](#how-to-use)
* [Technical information](#technical-information)
* [See also](#see-also)
## List of files
### Text files
* `assemble.sh`: a Linux script that assembles `md5.asm` (don't run it before reading it)
* `md5.asm`: NES source code, assembles with ASM6
* `md5-simple.py`: a simple MD5 implementation in Python
### Image files
* `chr.png`: CHR (graphics) data
* `snap.png`: screenshot
### Other files
These files are gzip compressed; to decompress them, use e.g. `gunzip` on Linux or [7-Zip](https://www.7-zip.org) on Windows.
* `chr.bin.gz`: CHR (graphics) data in NES CHR format
* `md5.nes.gz`: assembled NES program
## How to use
* d-pad left/right: move cursor left/right
* d-pad down/up: decrease/increase digit at cursor by one
* select button: increase digit at cursor by eight
* B button: decrease length of message
* A button: increase length of message
* start button: compute the hash of the current message
## Technical information
* mapper: NROM
* PRG ROM: 16 KiB (only uses the last 2 KiB)
* CHR ROM: 8 KiB (only uses the first 2 KiB)
* name table mirroring: does not matter
## See also
* [this program on itch.io](https://qalle.itch.io/qalles-md5-hasher)
* [MD5 on Wikipedia](https://en.wikipedia.org/wiki/MD5)