App to decrypt & encrypt any cheat code for CodeBreaker PS2, rebuilt in Rust for its 20th anniversary.
Paste or load a code list on the left, choose Decrypt or Encrypt, and the result appears on the right. Game titles and code names pass through untouched.
CB2crypt 2.0 rebuilds the Windows program from 2006, the first to decrypt CodeBreaker V7 codes. To learn how the codes work (what a Beefcode is, how V7 differs from V1, and how to add your own codes to an official list), see the original's readme.
With a recent Rust toolchain:
cargo run --releaseFor a dark theme:
cargo run --release -- --darkCB2crypt is developed and tested on macOS. The toolkit it is built on also runs on Windows and Linux, but the app is untried there.
I released CB2crypt on March 23, 2006, two weeks after cracking the CodeBreaker V7 encryption, and updated it until v1.4 in January 2007.
In November 2026, twenty years later, I rebuilt it in Rust as version 2 with Claude Code and Fable 5.2. Fable also tested the app through computer use, clicking through the real window and taking the screenshot above. It works as the original did, with the same menus, text boxes and buttons, now drawn by the pixel-perfect Windows 3.1 controls of saudade. The crypto comes from the codebreaker crate, which grew out of the original's C code.
The original Windows program lives on in the windows branch, and every release from v1.0 to v1.4 keeps its tag.
Copyright (c) Mathias Lafeldt
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
The Windows program, up to v1.4, is licensed under the GNU General Public License, version 2 or later.
