Source
This is the code that runs the site. The files were copied here by the same build that deployed it, on 2026-12-03.
| File | What it is | SHA-256 | Bytes |
|---|---|---|---|
| gate.ts | The protocol. The service runs listing() and bid(), and an employer runs check(). | ae58ff836576f26b8e6185429992d7c7172839568cb119ee9538c2dd0873f3ca | 6,113 |
| worker.ts | The server, which handles the two API operations and the optional stats. | a770678c7dfee79e4fb6640140b6481ce471ae0b9b02669b50f4bf76c2a1efb3 | 6,057 |
| embed-frame.js | The bordered box. It runs in your browser, and it is the code that handles your number. | dc7e8fddaf60f8f3555a2818186c1ea43a81d188ec31939b937d126c408357ae | 5,606 |
| embed.js | The script employers include on their page. The ticket is the only thing it receives. | 0e4c01402569e7be37db2f8556079cad816f7203a4f4c4860058c60377e592f6 | 2,119 |
| Gate.kt | The reference implementation, which is the same protocol as one Kotlin file that needs only the JDK. | eee05b4ee651315273805fa13356672af73e6126200acaeeb26741250fdeb6d1 | 8,883 |
| check_tickets.py | What an employer runs to read its tickets. Python, standard library only. | 593756dd8934befb91d070067d46eadeaedd2ec5149c4f1cd471d3fb835c09ae | 2,116 |
| LICENSE | The MIT License, which covers the code files on this page. | 44a949177176d1e8d499629a40ed6f5f0f3002dff3b84478ecdf5593090074e4 | 1,069 |
Licence
The code files listed above are released under the MIT License, so anyone may use, change and run them, including commercially. The licence covers the code. The name The Salary Box, the thesalarybox.com address and the written text of this site stay with us, so please run your copy under a name and address of your own.
If you run your own, please credit the original implementation to Max Reichelt, with a link to the essay that explains the idea, maxreichelt.com/essays/salary-box, on the page where you document how to set it up, and ask anyone who builds on your version to do the same. The credit belongs on the documentation, and the box that candidates see can stay free of it.
What you can confirm from here
The two browser files can be confirmed directly, by comparing them with what developer tools show your browser loading from this site. They cover the part that matters most to a candidate, which is that the number is sent to thesalarybox.com and that the employer's page receives the ticket.
The server files are our statement of what the server runs. Nobody outside a server can observe which code it is running, so what we can offer is the code itself, published by the same deployment, on the same domain, at the same time.
The current key ID is loading. Every locator starts with it. If the secret key is ever replaced, the key ID changes with it, and every locator made afterwards shows the new one.