The CryptHEX

Why I built the CryptHEX

The CryptHEX (9SQM) — A fully mechanical 3D-printed cryptex I designed for a Cyber Security CTF (Capture The Flag). Twelve independently rotating rings each have 16 hexadecimal positions (0–9, A–F), creating a 48-bit combination space. Solving one of the CTF challenges revealed the code needed to open the CryptHEX; inside was the code required to continue with the next challenge. Flexible TPU locking pins make the correct ring positions deliberately difficult to detect by feel. Forget the code and there is no reset button, recovery procedure or password hint. There is, however, a saw.

Using the CryptHEX

1. CryptHEX — Assembly, Code Setup and Locking

Before You Start

The CryptHEX uses twelve code rings, each with 16 positions: 0–9 and A–F. The combination therefore consists of twelve hexadecimal characters.

Each code ring works together with a click ring, providing 16 distinct rotational positions.

The inner tube carries twelve flexible lock pins. For the inner tube to be inserted or removed, the openings in all twelve rings must be aligned with these lock pins.

The O markings are used during assembly to indicate the position of the lock pins. The arrows at the top and bottom of the CryptHEX indicate the code-reading position.

Important: Make sure you know the intended 12-character code before locking the CryptHEX. Once locked, it cannot be opened without the correct code. If you forget it, mechanical persuasion involving a saw may be required.


Step 1 — Install the Click Rings

Slide the first click ring onto the outer tube.

Each click ring has a clearance slot that allows it to pass over the click mechanism. Align this slot with the click mechanism and slide the ring down into position.

Repeat this procedure until all 12 click rings have been installed.

Step 2 — Move the Click Rings to the Open Position

Once all twelve click rings are installed, rotate each click ring 180 degrees.

The clearance slots should now be positioned on the opposite side of the click mechanism, creating a continuous vertical clearance for the twelve lock pins on the inner tube.

The O markings indicate this lock-pin position. and should now align with the arrow on the fixed ring of the outer tube.

The CryptHEX is now in its open position.

Step 3 — Install the Code Rings and Set the Combination

Fit the twelve hexadecimal code rings onto their corresponding click rings.

The physical position of each code ring relative to its click ring determines which character will appear at the code-reading position when the lock-pin openings are aligned.

Position each code ring so that the desired hexadecimal character appears along the code-reading line indicated by the arrows at the top and bottom of the CryptHEX.

Repeat this for all twelve rings.

The twelve characters between the arrows now form the opening code.

Step 4 — Install the Locking Lid

Before inserting the inner tube, place the locking lid onto the CryptHEX and rotate it fully into its locked position.

This must be done before inserting the inner tube.

Once the inner tube has been installed, it mechanically prevents the locking lid from being rotated and removed.

Step 5 — Insert the Inner Tube

Check once more that all twelve code rings are correctly positioned.

The arrows at the top and bottom of the CryptHEX indicate the code-reading position. The twelve hexadecimal characters aligned between these arrows must show the intended combination.

Carefully slide the inner tube into the outer tube.

The twelve flexible lock pins should pass through the aligned openings without requiring significant force.

Do not force the inner tube. If it does not slide in freely, check that all twelve rings are correctly positioned.

Push the inner tube fully into position.

Step 6 — Lock the CryptHEX

Rotate several or all of the code rings away from the programmed combination.

The openings are now moved away from the lock pins, preventing the inner tube from being removed.

Because the inner tube also blocks the locking lid, the complete assembly is now mechanically locked.

The CryptHEX is now locked.

To open it again, rotate all twelve rings until the correct hexadecimal combination appears between the two arrows. This realigns all twelve openings with the lock pins, allowing the inner tube to be removed.


2. CryptHEX — Disassembly, Changing the Code and Reassembly

Before You Start

To change the combination, the CryptHEX must first be opened using its current 12-character hexadecimal code.

There is no externally accessible reset mechanism while the CryptHEX is locked.

Important: Do not start changing the code unless you know the current combination and can successfully remove the inner tube.


Step 1 — Enter the Current Code

Rotate each of the twelve code rings until the correct hexadecimal combination appears along the code-reading line indicated by the arrows at the top and bottom of the CryptHEX.

Check the complete 12-character code carefully.

When all twelve positions are correct, the internal openings will be aligned with the lock pins on the inner tube.

Step 2 — Remove the Inner Tube

Carefully pull the inner tube straight out of the CryptHEX.

The twelve flexible lock pins should pass through the aligned openings.

Only light resistance should be present.

Do not force it. If the inner tube will not slide out, check all twelve code positions again. A single incorrectly positioned ring is enough to prevent removal.

Once the inner tube has been removed, leave all rings in this position. The CryptHEX is now in its open position, and there is no need to rotate the rings by 180 degrees.

Step 3 — Remove the Locking Lid

With the inner tube removed, the locking lid is no longer mechanically blocked.

Step 4 — Remove the Code Rings

Keep the CryptHEX in its open position.

The twelve code rings can now be slid off the outer tube. Their clearance slots are already correctly aligned with the click mechanism, so there is no need to rotate the rings first. The “O” markings now should align with the arrow on the Fixed Ring on the outer tube.

Remove all twelve code rings.

Step 5 — Reinstall the Code Rings

With the CryptHEX still in its open position, slide the twelve code rings back onto the outer tube.

Each ring can be installed in a different rotational orientation. This is how the combination is mechanically programmed. DO NOT ROTATE the inner rings during this process.

Install each ring so that the hexadecimal character required for the new combination will appear at the code-reading position indicated by the arrows.

Repeat this for all twelve positions.

Step 6 — Set and Verify the New Code

Check the characters displayed along the code-reading line between the top and bottom arrows.

They should show your new 12-character hexadecimal combination.

Valid characters are:

0 1 2 3 4 5 6 7 8 9 A B C D E F

Check the entire code carefully before continuing.

At this point, the physical relationship between the code rings and their click positions defines the new combination. No additional programming or adjustment is required.

Write down the new code before continuing. The CryptHEX does not have a Forgot password? button.

Step 7 — Reinstall the Locking Lid

Place the locking lid onto the CryptHEX and rotate it fully into its locked position.

This must be done before inserting the inner tube.

Step 8 — Insert the Inner Tube

Keep the newly programmed code aligned between the arrows.

Carefully slide the inner tube into the CryptHEX.

The twelve flexible lock pins should pass freely through the aligned openings.

Do not force it. If the inner tube does not slide in easily, stop and check the position of all twelve rings.

Push the inner tube fully into position.

Step 9 — Lock the CryptHEX

Rotate several or all of the code rings away from the new combination.

The lock pins are now trapped behind the rings, preventing the inner tube from being removed.

Because the inner tube also prevents the locking lid from being released, the CryptHEX is now fully locked.

Step 10 — Test the New Combination

Before putting anything important inside the CryptHEX, test the new combination at least once.

Enter the new code between the arrows and verify that the inner tube can be removed.

Reinsert the inner tube and scramble the code rings again.

Verify that the inner tube and locking lid are both securely locked.

Your new combination is now ready for use.

And REMEMBER the code. There is no master key, backdoor or recovery code. There is however… the saw…

What do you need to build this CryptHEX

The STL Files

The Spring Loaded ball Plunger – 5mm

You’ll need 12 pieces.

IKEA’s Blåhaj

This project started as a surprise for a colleague who used IKEA’s famous Blåhaj as his avatar — and who, naturally, already owned the real thing.

So rather than giving him another stuffed shark, I decided to create my own 3D-printable version from scratch in Fusion 360.

And because one Blåhaj apparently wasn’t enough, I also printed a much smaller version that he could use as a keychain.

Designed for 3D printing

The model was designed not only to resemble the wonderfully goofy original, but also to be practical to print and assemble.

The shark consists of separate left and right body sections and a belly. By placing the two body halves with their flat surfaces on the print bed, almost the entire model can be printed without supports. Only the two large side fins should require support material.

The belly fits precisely into the body with 0.2 mm clearance. Because the mating surfaces locate it automatically, no alignment pins are required.

The two body halves are aligned using four dowels and matching holes, making it much easier to position them accurately while gluing.

There is one important detail in the assembly sequence: glue the belly into one body half first, then join the two body halves together. Doing it in the opposite order would turn installing the belly into a rather interesting puzzle.

Optional LED lighting

The shark can be printed simply as a display model, but I also designed it with optional internal lighting.

The eyes have provisions for 3 mm LEDs, and LEDs can also be installed behind the mouth to illuminate it from inside.

There is a hollow battery compartment inside the body, accessible through a screw-on battery compartment cover underneath. This keeps the batteries replaceable even after the model has been permanently glued together.

The electronics are entirely optional, so you can build anything from a simple desktop Blåhaj to a slightly ridiculous glowing desktop Blåhaj.

And a pocket-sized Blåhaj

For the same colleague I also printed a miniature version small enough to use as a keychain.

So he ended up with the original IKEA Blåhaj, a 3D-printed desktop version, and a tiny one he could take with him.

Which is probably sufficient Blåhaj.

Probably.

STL files download

Thunderbirds

Growing up with Thunderbirds, these machines were impossible to forget. Decades later, I decided to recreate the four iconic rescue vehicles as 3D-printable models — not simply as display pieces, but as models designed from the start to be printed, assembled and enjoyed.

Existing models never quite matched what I was looking for, so I designed my own. Wherever practical, parts were separated by colour to minimize painting, while small details, alignment features and assembly tolerances were incorporated directly into the designs. The models combine FDM printing for the larger parts with resin printing where finer detail makes a real difference.


Thunderbird 1

Thunderbird 1 looks deceptively simple: a sleek silver rocket with wings. That simplicity made getting its proportions and assembly right particularly important. I wanted a model that captured the unmistakable silhouette of the original while remaining straightforward to print and put together. The wings can fold and unfold

The model is divided into colour-separated parts, with alignment dowels making assembly precise and repeatable. Parts that slide into or over one another have approximately 0.2 mm clearance, which should provide a good fit on a reasonably calibrated printer.

The main body can be printed without supports except for the wings and rocket engine. I printed the smaller detailed parts in SLA resin and the larger components in FDM.

And because one Thunderbird apparently wasn’t enough, this was only the beginning.


Thunderbird 2

Of all the Thunderbirds, Thunderbird 2 is probably the one that presented the most interesting design challenges. Its huge flowing fuselage, the landing gear, removable pod and small external details make it much more than just a green shell with wings.

The landing gear cannot retract into the model. Because the mechanism is too delicate at this scale, but the legs can be removed if the model is mainly intended for display with the pod inserted. The tail and stabilizer sections are separate parts that slide into position, while small details such as lettering are designed so they can be printed separately in the appropriate colours.

Naturally, Thunderbird 2 wouldn’t be complete without a pod. I included one with the model — and even added a small one-piece Thunderbird 4 to live inside it.


Thunderbird 3

Thunderbird 3 is essentially a collection of long cylinders, fins and rocket engines — which sounds easy until you try to turn that distinctive shape into something that prints cleanly and assembles accurately.

I split the model into colour-separated sections so that very little painting is required. Alignment dowels help keep the tall structure straight during assembly, while the individual components use roughly 0.2 mm clearance where they fit together.

Almost everything can be printed without supports; the jet arms are the main exception. As with the other models, I used SLA resin for the smaller detailed components and FDM for the larger structural parts.

The result is a model that looks suitably ready to leave Tracy Island vertically and in a great hurry.

STL Files TB3

I used an SLA printer for small detailed parts, and a FDM printer for the rest.

Thunderbird 4

Smallest of the original Thunderbird machines, but for this model I deliberately gave Thunderbird 4 a larger scale of its own. That allowed me to preserve far more of the characteristic shapes and details of the little yellow submersible than would have been possible if it had been scaled to fit inside Thunderbird 2.

As with the other models, it is divided into separate colour parts wherever practical, minimizing the need for painting. Alignment dowels help position the components accurately during assembly, while the combination of FDM and resin printing makes it possible to retain the finer details without unnecessarily complicating the larger parts.

Thunderbird 2 does include its own miniature Thunderbird 4, but that is a separate, simplified one-piece model designed specifically to fit inside the pod. The model presented here is the full, larger and much more detailed version.

Small rescue craft, considerably less small 3D print.

Printing & Assembly

The models were designed with 3D printing in mind. Almost all parts can be printed without supports when oriented correctly. In some cases this means printing a part upright rather than in what might seem the most obvious position. A few parts inevitably require supports because of their geometry.

Tall or narrow parts printed upright can be more vulnerable to being knocked loose by the nozzle. If that becomes a problem, there are several ways to improve reliability:

  • Use a small amount of adhesive on the print bed to improve adhesion.
  • Enable Z-hop on retraction, so the nozzle lifts slightly while travelling over the print.
  • Add a raft to give tall or narrow parts a more stable base.

Parts that slide into or over each other were designed with approximately 0.2 mm clearance. This should provide a good fit on a properly calibrated printer, although minor sanding or adjustment may occasionally be required.

I printed the small, highly detailed parts on an SLA resin printer, as many FDM printers may struggle to reproduce the finer details cleanly. The larger structural parts were printed using FDM.

The STL filenames include both the intended colour and the number of copies required, making it easier to prepare the complete set of parts before assembly.

As always with 3D printing, printer calibration, material choice and slicer settings can make a difference — so consider the tolerances and print orientations a starting point rather than a law of nature.

STL Files TB4


| © 2026 | 9M² Creatory | Where imagination crystallizes |