Abstract

How does a mechanical safe lock work, and why can a patient operator recover its combination through the dial without damage? Matt Blaze’s 2004 survey takes the Sargent and Greenleaf R6730 as its reference: a drive cam, three gated wheels and a spring-loaded lever whose fence tests the gates. Its nominal key space is 1,000,000 combinations. Blaze estimates that dialling tolerance leaves roughly 51,000 to 242,000 distinct combinations across typical tolerances if about 80% of the dial is usable for the last number, and about 283,000 for the R6730 itself. Manipulation shrinks the problem further. Imperfect wheels mean that usually one wheel at a time limits how far the fence falls, and the width of the dial’s contact region gauges that depth. For an idealised lock with one dominant wheel and 66 positions per wheel, Blaze bounds the work at 203 trials against 287,496 for blind search. Manipulation-resistant designs keep the fence off the wheels or randomise what the dial feels. An early-exit password comparison leaks in the same way. Where a leak lets each component be tested separately and reliably, a product of choices can become a sum, and channel noise sets the price.

A lock that answers questions

Matt Blaze, then at the University of Pennsylvania, put it in those terms in “Safecracking for the computer scientist”, a draft survey dated 7 December 2004 and revised on 21 December 2004: the locks are “analog authentication systems that effectively accept or reject passwords”.1 Some designs, he wrote, “are subject to imperfections that leak information about their internal state through the external dial user interface”, and an attacker who interprets that information can find a working combination by “the systematic entry of trial combinations and interpretation of state information”. The trade calls this manipulation.2

UL 768, the American standard for combination locks, states its purpose in the same register. Its scope says the requirements test resistance to opening “by sense of sight, touch, or hearing”.3 The ratings that follow from it, UL 768’s groups and the federal specifications, are covered in Safes, vaults and GSA containers and are not repeated here.

The mechanism

Blaze takes the Sargent and Greenleaf (S&G) model R6730 as his reference design, describing it as a “spring loaded lever-fence, key changeable” Group 2 lock, and names the Kaba-Ilco 673 and LaGard 3330 as using “a virtually identical design”.4 S&G’s 2006 operating guide, quoted below, covers the 6730 family; it is the manufacturer’s instruction and is kept separate from Blaze’s 2004 measurements.

Two jobs: moving the bolt and testing the combination

The dial, about 3 inches across and divided into 100 graduations, turns a spindle that passes through the door into the lock case. Inside, the spindle ends at the drive cam, a disc with a wedge-shaped notch in its rim called the cam gate. The lock bolt slides in a channel in the case, and a lever is pivoted on the bolt by a lever screw. A lever spring presses the lever down so that its nose, shaped like the cam gate, rides on the edge of the cam. When the dial brings the cam gate under the nose, the nose drops into it, and further rotation pulls the lever and so retracts the bolt. Once the bolt is fully back the dial stops; turning the other way throws the bolt again.4

So far the lock has no secret: turning the dial clockwise far enough for the cam gate to reach the nose, and on until the lever has pulled the bolt back, would open it. The secret lives in the wheel pack, a stack of discs that turn on a post around the spindle, independently of the cam and of one another. Each wheel has a notch, the combination gate, in its rim. Above and behind the nose, the lever carries the fence, a bar that lies across the top of the wheel pack. When the cam gate comes under the nose, the lever starts to fall, and the fence comes down on the wheels. If every wheel has its gate under the fence, the fence drops into the aligned gates and the nose can seat in the cam gate. If even one wheel presents solid rim, the fence lands on it, the lever stops short, and the nose cannot engage.4

The cam, in Blaze’s words, has at least three jobs: “transmitting dial rotation to the wheel pack, controlling contact between the fence and the wheel pack, and engaging the lever to retract the bolt”.5 The second matters most for security. Because the fence only touches the wheels while the nose is over the cam gate, the fence is lifted clear for most of each revolution and cannot be dragged across the gates as they pass.

Picking up the wheels

One dial has to set three wheels separately, and it does so with a chain of pins and flys. A drive pin on the back of the cam rides in a slot in the wheel behind it, and somewhere in each revolution it meets a tab on that wheel, the fly, and starts carrying the wheel round. That wheel has its own drive pin, which after another revolution meets the fly of the next wheel, and so on. Blaze calls a wheel that is being carried “picked up”. Reversing the direction breaks the chain, and the wheels must be picked up again in the new direction. It follows that the wheel farthest from the cam must be set first and the one next to the cam last. On a three-wheel lock the wheel next to the cam is called wheel 3, because it holds the last number of the combination.4 In Blaze’s 2004 survey, most modern Group 2 locks had movable flys that turn through a small range before driving the wheel, so a wheel stops at the same position whether it was dialled left or right; some older direct-entry locks have fixed flys and do not.6

The opening sequence

The turn counts follow from the pickup chain. S&G’s 2006 guide for the 6730, 6735, 6738 and 6741 gives the opening procedure as: turn left until the first number “aligns with the opening index the fourth time”, right until the second number aligns “the third time”, left until the third number aligns “the second time”, then right until the dial stops, “at approximately 95”.7 The guide counts sightings of the number at the index, not full revolutions: “Each time the desired number of the dial comes into alignment with the index being used, it is counted as a turn of the dial”, including a first partial turn.7 The effect of the sequence is that the first left stop leaves wheel 1 set; the right stop sets wheel 2 without disturbing wheel 1; the second left stop sets wheel 3; and the final right turn brings the cam gate under the nose. Where the dial stops depends on the installation. In the guide’s factory-setting example, a lock whose dial spindle is splined at 41 rather than the historical 50 opens on 41 and stops at about 86 or 87.7 An operating sheet from the safe maker Rhino Metals for its safes fitted with a 6730 gives the same 4, 3 and 2 counts and says that, on those safes, the dial stops “at about 87”.8

The guide is strict about overshooting. “If you turn past a number you meant to stop on, you cannot back up to it”, it says, and “Dialing even a small amount past a number you meant to stop on will cause the lock to remain locked. This is part of the mechanism’s security.”7 The guide says to start again from the beginning. To relock, the guide says to “turn the dial four complete revolutions to any non-combination number”.7

Changing the combination

A wheel’s number is set by the angle between its fly and its gate. On some, mostly older, locks the wheels must be removed and swapped to change the combination; on key-change locks such as the 6730 a change key unlocks each wheel’s inner hub, which carries the fly and drive pin, from its outer rim, which carries the gate.4 The dial ring carries two marks: the opening index at 12 o’clock and a changing index at about 11 o’clock, which is used only when a new combination is entered.4 7

The forbidden zone

If the last wheel’s gate is set too close to where the nose enters the cam gate, Blaze writes, the nose usually becomes trapped in the cam gate and the bolt cannot be relocked, and more rarely the lock will not open at all. The range of numbers to avoid for the last number is called the forbidden zone.9 S&G’s guide describes the failure: a last number set “on or between the lock’s two contact points” causes “a condition known as a ‘lock-in’”, in which the cam tries to move the last wheel before the fence has lifted out of its gate, and the stress can make the wheel slip to a new number.10 Its rules for choosing a combination say: “Do not use a number between 95 and 99 or between 0 and 20 for the third (or last) number of the combination.”11 Read as inclusive ranges of whole numbers, that rule in the 2006 guide excludes 26 of the 100 numbers.

Variants

Blaze notes that on some locks the dialling tolerance can be adjusted by fitting a lever with a wider fence (tighter) or a narrower one (looser). Older direct-entry locks have no spring lever: the door handle itself pushes the fence into the wheel pack. He says these are found on older containers and many inexpensive fire safes.9

What the dial can feel

Three states, then five

Blaze notes that even a fairly inexperienced user can feel the wheels pick up one by one and feel the lever drop and rise as the cam gate passes under the nose. That lets an outsider tell three states apart: nose not over the cam gate; nose over the cam gate with fewer than all gates under the fence; and all gates aligned, when the bolt retracts. Usually this is of little use, since pickup points show only where the wheels were last set. Blaze notes one exception: if the last person to close the lock did not turn the dial enough times, the pickup points may reveal some or all of the combination.5 Otherwise, in his assessment, the design “obscures the most important information that an attacker seeks, which is the position of the gates”: the nose and cam lift the fence above the wheel pack, so the gates cannot be felt as they pass beneath it.5

Contact points

The nose and cam gate are both wedges. When the nose is fully seated in the gate, the fit is snug. When the nose is only partly down, there is play from side to side, and the deeper the nose sits, the less play there is. Blaze calls the relation inverse; only the direction matters here. With the nose over the cam gate, turning the dial one way until the edge of the cam starts to lift the lever gives the left contact point; turning the other way gives the right contact point; the stretch between them is the contact region.12 S&G’s glossary defines contact points as “the numbers which come under the opening index when the nose of the lever contacts the sides of the gate in the drive cam”.13

The width of the contact region is therefore a gauge. It reports how high the wheel pack stands under the fence. Blaze stresses that this property “does not depend on any manufacturing imprecision; it is a natural consequence of the nose and cam gate design”.12 The gauge is part of the lever-fence design itself. Whether it reveals anything about the gates depends on the next property.

The largest wheel

In a perfect lock, with no gate under the fence, the fence would rest on all three wheels at once, and the gauge would read the same until every gate was aligned. Real wheels differ slightly in diameter, the fence is not exactly parallel to the wheel axis, and the wheels may turn slightly off centre. So at any moment the fence is held up by one effectively largest wheel. When that wheel’s gate comes under the fence, the fence drops a little further, until the next largest wheel stops it.12 Blaze’s photograph of a cutaway off-the-shelf S&G 6730 lock shows the middle wheel slightly larger than the others.12 A Locksmith Ledger trade article (1 March 2011) adds that parts are made with deliberate clearance so that they fit without hand-fitting, which lets the lever tilt slightly, and that “If the outside operating diameter of one wheel is slightly higher than the remaining wheels, the notch in that wheel will be more easily identified during manipulation.”14

Put the two properties together and the lock can reveal more than three states. When the effectively largest wheel’s gate is under the fence, the nose sits a little lower in the cam gate and the contact region narrows. On a three-wheel lock, Blaze says, one can often distinguish five states: nose not over the cam gate, then no gate, one, two or all three gates under the fence.12 The middle states are only readable when the wheels’ effective heights differ enough to measure, and the gate that matters at each stage is the one on the wheel then holding the fence up; a gate under the fence on a smaller wheel changes nothing that can be felt. Those readable intermediate states are the leak. Manipulation, in his summary, “is simply a systematic, adaptive probing and analysis of the distance between the left and right contact points that derives part or all of a lock’s combination”, a kind of “differential analysis” against the wheel pack.12

The companion article on pin tumblers, How pin tumbler locks are opened, describes the same root cause: one pin binds first because the holes are not perfectly aligned. The two attacks use the imperfection differently. That article notes that picking produces an open lock, not a record of the key’s depths, and treats methods that recover a key separately. A manipulator uses the imperfection to measure, and ends with the combination written down, which still works after the safe is closed again.

Manipulation, wheel by wheel

Success “does not depend on unusual manual dexterity or great sensitivity (popular myths about stethoscopes and sandpapered finger notwithstanding)”, and he found that “many people find it easier to master the basic mechanical skills of manipulation than, e.g., those of pin tumbler lock picking”.15 The physical skill is reading the contact points consistently: finding the contact region (in Blaze’s 2004 account, usually between about 4 and 13 on then-current S&G R6730 locks and between about 99 and 7 on Kaba-Ilco locks), recognising the moment of contact the same way every time, and reading the dial to “about 1/4 or, preferably, 1/8 of a dial graduation”. Absolute accuracy does not matter, since only changes are used.15 On most Group 2 locks the cam gate is more gently sloped on one side, so the contact point on that side moves more; some locks show changes on one side only.15 In Blaze’s account of practice, audio amplifiers are not usually considered especially helpful and contact points are most reliably read by feel; the aids he describes are a sticker marked in quarter graduations and a home-made Vernier scale reading to an eighth.15

Blaze published the procedure for what he calls the simple case, a lock with one wheel that is largest wherever the others stand.

Mapping the pack

Spin all wheels together to a test number, return to the contact region, and record both contact points. Repeat around the dial. Blaze says it is usually enough to test 40 positions, every 2.5 graduations, because the fence partly drops into a gate even when it is too far away to let the nose engage.6 The traditional record is a graph of left and right contact points against the test number, with the narrowest point marking the gate of the largest wheel; his example graph shows it at 37.5.6 A 2024 training deck from TOOOL Netherlands (presented by Jan-Willem Markus at Hackerhotel) gives the same rule, “Check every 2.5 numbers”, and adds: “The goal is to find a new low reading, this does not have to be a gate.”16

A toy version, with numbers invented for illustration, shows what the graph encodes. The reading is the width of the contact region in dial graduations.

All wheels atLeft contactRight contactWidth
30.013.006.506.50
32.513.006.506.50
35.012.756.506.25
37.512.506.755.75
40.012.756.506.25
42.513.006.506.50

The width is constant except near 37.5. Against the baseline readings at 30.0, the left contact point there has moved in by half a graduation and the right by a quarter, so the width falls by three quarters; against the neighbouring rows at 35.0 and 40.0, each contact point has moved by a quarter. Changes of this size are why Blaze asks for readings to a quarter of a graduation or better; with readings rounded to whole graduations, some or all of a dip like this could be lost, depending on where the readings fall. Blaze then re-tests every whole graduation within 5 of the low point.6

Which wheel? The high-low test

The map shows where a gate is but not which wheel it belongs to. Blaze’s step 3 dials three test combinations: in each, two wheels are left on the low point and the third is moved away. The combination that moves the largest wheel off its gate gives “a higher relative fence depth”.6 Practitioners call this kind of check the high-low test, and the TOOOL deck sets it as an exercise after graphing.16 The Locksmith Ledger article uses a sequential variant: it moves wheel 3 about ten numbers off the low point and takes a reading, and only if the reading stays low does it move wheels 2 and 3 together to decide between wheels 1 and 2.14

Continuing the toy example:

Test (wheel 1, 2, 3)WidthReading
47.5, 37.5, 37.55.75still low: wheel 1 is not the one
37.5, 47.5, 37.56.50back to high: the gate is on wheel 2
37.5, 37.5, 47.55.75still low: wheel 3 is not the one

The next wheel, and the messy cases

With one number known, the operator parks that wheel on its gate and maps again, dialling the other wheels together. In Blaze’s example, a gate found at 38 on wheel 2 leads to tests at 0-38-0, 2.5-38-2.5, 5-38-5 and so on. The fence now rests on the next largest wheel, and its gate shows as the next dip. The last wheel needs no map: “dialing a trial combination with the correct number at this stage will retract the bolt”, so it is found by trying each position.6

Not every lock has one dominant large wheel. If the post is off centre, different wheels are largest at different angles; if wheels are out of round, or carry false gates, there are low points with no real gate. Blaze’s answer is to iterate: park whichever wheel gave the lowest reading, map the others, then re-map the first with the second parked, “the aim being to find successively lower relative fence depths”.6 He reports that “a systematic mapping of successively lower points will usually yield the locations of all three real gates with surprising efficiency”.6

How long it takes

Blaze puts a full decode of a Group 2 lock, by a practised manipulator, at “about 30 to 60 minutes (in one or more sessions)”.17 A learner’s pace is different: TOOOL Netherlands reported that in its two-hour Hackerhotel 2024 workshop, on locks of known combination, participants “usually only get to complete one and a half graphs in this time”, with some finishing all three.18 He makes a point that sounds odd until one thinks of it as an algorithm: in his account, a novice may not need much more time than an expert on a given lock, because “The number of test combinations that must be dialed depends on the lock, not the manipulator”; skill decides which locks can be read at all.17 And because nothing is changed in the lock, the trials “can be performed (and contact points recorded) across several interrupted sessions over an arbitrarily long period of time, assuming that the combination remains unchanged”.6 The work leaves “essentially no forensic evidence” and, unlike drilling, requires “no elaborate tools (beyond a pencil and paper)”.12

How big is the key space?

Nominal and effective

A dial of 100 graduations and three wheels gives 100 × 100 × 100 = 1,000,000 combinations, and four wheels give 100,000,000. Rhino Metals’ operating sheet for the 6730 advertises “One Million Possible Combinations”.8 Blaze’s point is that the number of mechanically distinct combinations is smaller, because a lock opens over a range around each number. He gives dialling tolerances “anywhere between ±.75 and ±1.25 in each dialed number, depending on the lock model”.19 S&G’s guide says “Some locks will let you dial as much as a full number lower and a full number higher than what is set”, and adds: “Without this tolerance, it would be extremely difficult to dial open a mechanical lock.”10

The arithmetic is short, and approximate. A tolerance of plus or minus t means a window about 2t graduations wide opens the lock, so an exhaustive search needs roughly 100 ÷ 2t trial positions per wheel to cover the dial. This treats the dial as continuous; the exact count depends on how a given model’s tolerance window falls on whole numbers, on rounding and on the end points, so the figures are estimates of search coverage for illustration, not counts for any particular lock.

TolerancePositions per wheelThree wheelsLast number limited to about 80% of the dial
±1.25100 ÷ 2.5 = 4040³ = 64,00040 × 40 × 32 = 51,200
±1.00100 ÷ 2.0 = 5050³ = 125,00050 × 50 × 40 = 100,000
±0.75100 ÷ 1.5 ≈ 6767³ = 300,76367 × 67 × 54 = 242,406

The rows for ±1.25 and ±0.75 are Blaze’s figures; he rounds 80% of 67 positions up to 54. The ±1.00 row is this article’s arithmetic on the same method.19 For what he calls “one of the better examples on the market in this regard” he is more specific: the S&G R6730 “has a dialing tolerance of ±.75 and allows the use of 94% of the dial for the last combination number, yielding a usable combination keyspace of roughly 282,807 distinct combinations”.19 That checks: 94% of 67 is 63, and 67 × 67 × 63 = 4,489 × 63 = 282,807.

Blaze’s 2004 reading of the UL Group 2 requirement is “at least 1,000,000 different combinations” with a dialling tolerance of at most ±1.25; he observes that the standard does not count combinations a user can actually set, so a lock can be certified even when the last number is constrained.19

The manufacturer’s rules shrink it again

Manufacturers also advise users against combinations that do not look random. S&G’s 2006 guide says not to use numbers all ending in 0 and 5, not to choose an ascending or descending sequence, to “Leave at least a ten number margin between adjacent numbers”, to avoid 95 to 99 and 0 to 20 for the last number, and to avoid “easily guessed numbers (birth dates, house and phone numbers, etc.)”.11 These are the manufacturer’s operating instructions for its locks.

Blaze, writing in 2004, counted the cost of the S&G recommendations he cited, a rule set that included avoiding 25% of the dial for the last number. On the R6730, he found, only 111,139 of the 282,807 usable combinations count as “good” under those recommendations, and with the full ±1.25 tolerance only 22,330, “less than 2.5% of the apparent keyspace of 1,000,000”. He reported that the S&G mechanism itself needed only about 6% of the dial avoided for the last number, and he also noted that the ten-graduation spacing rule “also may slightly improve resistance to manipulation”.19 His estimates rest on that rule set and on his tolerance figures; they are not a licence to ignore a given model’s own forbidden range, which exists for mechanical reasons. His comparison is with password composition rules. Such rules trade two things against each other: they remove the worst human choices, and they also tell an attacker which part of the space to skip. Which effect dominates depends on how people would otherwise choose, and Blaze’s counts measure only the second.

Brute force and autodialers

The effective key space decides whether trying every combination is practical. Blaze judged that even 51,200 combinations put manual search out of reach, but that “commercially available robotic dialers (a servo motor attached to the dial controlled by a simple microcontroller) can search the effective keyspace of most three-number locks, as well as some four-number locks, overnight or over a weekend”. He added that this is still generally longer than the time needed to break into the container itself, and that the high-speed dialling wears the lock.19 For the federal market the robot mattered more: according to the DoD Lock Program’s newsletter, “The threat of robotic dialing of mechanical combination locks” drove the General Services Administration to issue the first federal lock specification, FF-L-2740, on 12 October 1989, and the first lock approved under it was the Mas-Hamilton X-07, an electromechanical lock.20

A published hobby project shows the arithmetic and the side channels together. SparkFun Electronics announced on 27 March 2017 that it would try to open a second-hand, low-security fire safe whose combination had been lost, using a robot, and later published a tutorial describing the build and the result.21 22 Its search-size figures are the project team’s own estimates, and they set out the reasoning step by step:

  1. At about 10 seconds per trial, all 1,000,000 combinations would take up to 115.74 days (10,000,000 s ÷ 86,400).
  2. Testing a safe of the same kind at a store, the team found a tolerance of plus or minus one digit, and estimated 33 positions per wheel: 33³ = 35,937 combinations, “still over 4 days” (359,370 s is 4.16 days). Since 33 windows three numbers wide cover only 99 of 100 numbers, 33 is the team’s working approximation rather than a guaranteed cover of the dial.
  3. The wheel next to the dial had 12 indents to stop a manipulator feeling for the gate, one of which had to be the real slot. That gave 33 × 33 × 12 = 13,068 combinations, or 1.51 days.
  4. The real slot was narrower: 0.239 inch against 0.249 inch, plus or minus 0.002, for the other eleven. The robot measured each indent’s width with its motor encoder, and on the team’s own safe one particular indent came out narrowest in almost all of their tests. Testing the four narrowest leaves 33 × 33 × 4 = 4,356 combinations.
  5. Setting the first two wheels once and then trying each candidate on the last wheel gave an estimated worst case of about 2.5 hours.22

The team reports that the robot opened their safe in 40 minutes and 42 seconds, and that the winning slot was the one they had measured as narrowest.22 The decoy indents were meant to hide the gate from the feel of the handle. Because they were cut slightly wider than the real gate, they ended up identifying it.

What manipulation does to the count

Blaze gives a bound for the simple case: decoding takes at most M·N + N(N − 1) − 1 trial combinations, where M is the number of distinct wheel positions and N the number of wheels. For a three-wheel lock with 66 positions that is 66 × 3 + 3 × 2 − 1 = 198 + 6 − 1 = 203 trials, “as opposed to M^N (287,496) under naive exhaustive search”.6 Check: 66² = 4,356 and 4,356 × 66 = 287,496. The ratio is about 1,400 to 1. With the looser ±1.25 tolerance, 40 positions, the same formula gives 40 × 3 + 6 − 1 = 125 trials against 64,000; that figure carries the same assumptions, a single dominant wheel and readings clear enough to separate every low point, and messier locks need more.

Blind search multiplies the choices for each wheel; manipulation adds them, because each wheel can be tested on its own once the lock reports which wheel is holding the fence up. That is the same structure as Blaze’s master-key attack, published in IEEE Security and Privacy in 2003, which treats a lock as an online “oracle” that accepts or rejects keys and uses it to determine the master key “pin by pin”.23 See The master key hidden in a change key. There the leak comes from the access decision itself; here it comes from imperfections the design tries to suppress.

How designers answered

Blaze summarises the countermeasures of Group 1 locks in one line: “the general approach involves preventing the contact points from being read accurately”.24

Keep the fence off the wheels

A US patent assigned to Chubb and Sons Lock and Safe Co., filed on 8 November 1978 and granted on 24 March 1981 (US 4,257,249, inventor John Johns-Hunt), begins: “All combination locks are susceptible to manipulation to a greater or lesser degree.” It notes that one known defence is “to raise the fence from the surface of one or more of the wheels during at least part of each revolution”. Its own mechanism uses an over-centre spring to snap the fence between two positions. Because during most of the dialling the fence is not touching the wheels, the patent says, a manipulator “is deprived of any information which he would otherwise have obtained by engagement between the fence 6 and the edges of gates in successive combination wheels”. The information it removes is the fence-to-gate contact.25

An Ilco Unican patent filed on 20 December 1995 and granted on 27 May 1997 (US 5,632,170, inventor Walter R. Evans) states the principle as settled: “It has been recognized that the fence must be elevated from the tumbler wheels during manipulation of the combination dial to prevent surreptitious ‘feeling’ of the position of the fence gates”. In its design a spring normally holds both the fence and the nose up, clear of the wheels and the cam, and an override spring lowers them only during an arc of each revolution. The dimensions are chosen so that when the fence rests on the wheel rims the nose stays above the cam surface. The patent’s claim is aimed at the contact-point measurement: “the cam gate contact points cannot be felt to sense the dropping of the fence lever at a particular fence gate”.26

S&G’s 8400 series takes the same approach with an extra control on the dial. S&G’s glossary describes the “8400 MP CAM (SLIDE CAM)” as a drive cam with two sliding parts, so that “in the closed position, the drive cam’s gate is concealed by one of the sliders”, operated by a “butterfly” knob through an inner spindle. Its 8550 design uses a roller on the cam “to push the lever/accelerator spring assembly onto a shelf, preventing lever/wheel contact”.13 A US military handbook of 31 December 1989 on combination locks, MIL-HDBK-1013/8, describes the 8400 series as Group 1 or 1R locks “designed to provide resistance against surreptitious opening by manipulation through the sense of touch, sound, ‘reading,’ electronic listening, and on Group 1R models, radiological attack”, and its opening procedure adds a step after the three numbers, turning an arrow knob in the centre of the dial.27 Blaze describes the same lock: a secondary mechanism “holds the fence off the wheel pack until the ‘butterfly lever’ in the dial knob is rotated, which also locks the dial into position”. He names the Kaba-Ilco 693 as another Group 1 lock that holds the fence off the pack until the nose is already in the contact region, and judges that such mechanisms “appear to make manipulation by conventional manual techniques infeasible”.24

Make the feel lie

A second approach leaves the contact but corrupts the reading. S&G’s patent US 5,749,252 (filed 15 April 1996, granted 12 May 1998, inventor Martin Richard Rhoades) explains the motive: “the more skillful manipulators can use even slight indications or ‘feel’” from the nose meeting the cam beside the gate. Its answer is a pair of multi-surface rollers mounted on the cam on either side of the gate. Each time the nose touches a roller, it turns the roller to a different face, so “the angular position of the drive cam at each time of contact ... is randomly variable for each such contact so as to prevent repetitive manually detectable characteristics”. The patent reports that the assignee “had a skilled manipulator attempt to determine the combination and the manipulator was unable to do so after substantial time spent”.28 That is S&G’s account of a single test of its own design, with no evidence on whether repeated or statistical readings could recover a signal. The same patent cites earlier approaches, including one using magnets in the nose and beside the cam gate to obscure the gate position.28 Blaze’s photographs include a Kaba-Ilco 683, a Group 2M lock “with mechanism that adds irregularity to contact points”.24 S&G’s glossary defines Group 2M as locks that “have passed a two-hour manipulation resistance test”.13

In signal terms, this approach adds variability at the point of measurement, so that the same wheel-pack state no longer produces the same contact reading. Adding variability is not the same as removing the signal, and how much averaging it defeats is not established in the sources here. For sound, the 1989 handbook describes a different, acoustic countermeasure: the Mosler MRK 302-402 has a cam mechanism that makes “Two audible impulses” as the dial passes zero, whose stated purpose is “to defeat manipulation by the use of audio instruments”.27

Decoys

False gates are shallow notches that let the fence drop a little but not far enough to open. Blaze is not impressed: “Once recognized, they present little difficulty against manipulation”, because a false gate serves as a low point from which the other wheels’ gates can be found.24 The SparkFun fire safe shows the further risk: decoys that differ from the real gate by a measurable amount turn into a label for it.22

Against the X-ray

Manipulation is not the only way to read a wheel pack. A patent assigned to S&G, filed on 22 January 1987 and granted on 11 October 1988 (US 4,776,190, inventors Harry C. Miller, Stephen Helesfai, John R. Bishop and Gregory Lainhart), describes attackers who use “X-ray photography techniques which provide a flat photograph of the wheel pack showing the positions of the gates” and “neutron beam gauging techniques”. It surveys the defences then known, including radiation-scattering devices, false gates and wheels “of low density materials such as nylon”, and proposes wheels in which every gate, true or false, has a mirror-image gate behind it, so that under the flat X-ray images and neutron measurements it discusses “they all look the same”.29 S&G’s glossary defines the “X-ray proof wheel” as one whose gate-bearing rim is made of “Nylon, Lexan, Delrin or Celcon to prevent X-ray methods of determining the combination”.13 The 1989 handbook says that the Group 1 locks it covers have brass wheels and the Group 1R locks it covers “X-ray proof (Delrin) wheels”, and it describes Group 1R as “manipulation, radiographic, and thermal resistant”, a rating against defined tests rather than a guarantee against every imaging method.27 Blaze notes that the Group 1R version of the S&G 8400 has Delrin wheels.24

Why Group 1 stayed rare

Blaze, in 2004, found it surprising that so few safes carried manipulation-resistant locks, since Group 1 locks “are not substantially more expensive than their Group 2 counterparts”. His explanation is usability: they “typically have a more complex user interface, usually requiring an additional step before unlocking, and are less forgiving of dialing errors”, and “many users are willing to exchange even a significant degree of security for improved usability and convenience”.2

The lock as a leaking oracle

Blaze’s framing

Blaze ends his survey with an argument that goes beyond the password analogy. Safe locks, he writes, “are remarkable not because their components are especially well made, but rather because their design assumes that they are not”. They are designed “not to eliminate imperfections, but to tolerate them”, and they fail “when, as in the Group 2 locks discussed here, the design turns out not to tolerate the imperfections as well as expected”.1 Software has the same problem: a correct function can still leak through how long it takes or how much power it draws. The library’s article on information theory treats side channels formally, as communication channels nobody designed.

The early-exit comparison

The cleanest software parallel is a secret compared one symbol at a time with an early exit. The function below is written for illustration; it returns at the first mismatch, so its running time grows with the number of leading symbols that are correct.

def check(entered, secret):
    for a, b in zip(entered, secret):
        if a != b:
            return False      # exits early: time depends on the matching prefix
    return len(entered) == len(secret)

The defect is that the running time depends on part of the secret, the length of the correct prefix, in the same way that the contact-region width on a Group 2 lock can depend on one wheel at a time. Whether that dependency is exploitable is a separate question: the difference has to be distinguishable from noise within the number of measurements the system allows, and in real code the timing may not depend on each position in a clean or uniform way.

A leak of this kind has been reported in a safe lock. At DEF CON 24 in 2016 a researcher presenting as Plore reported that the code check of the Sargent and Greenleaf Titan PivotBolt units examined exited at the first mismatching digit, with a timing difference visible in the lock’s current draw, and estimated that in the best case this could cut the worst-case number of candidate codes from 1,000,000 to “as few as 60”; the presenter treated noise and the lock’s lockout as separate problems, and the rest of that work, on this one model, is covered in the safes article.30

The idealised arithmetic shows why the defect matters. A secret of n symbols from an alphabet of k has k^n values; if, and only if, each position could be tested independently and its correct value reliably recognised, the candidates to consider would fall to at most n·k: for six digits, 10^6 against 60. Those are counts of candidates, not of measurements, and they are an upper bound on the damage, not an estimate for any particular system. The standard fix is a comparison without content-dependent shortcuts. Python’s documentation, for example, says that hmac.compare_digest “uses an approach designed to prevent timing analysis by avoiding content-based short circuiting behaviour”, and notes that if the inputs differ in length or an error occurs, a timing attack could theoretically reveal information about their types and lengths, though “not their values”.31

Timing, power and noise

Paul Kocher’s “Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems” (CRYPTO ‘96, pages 104 to 113) started from the observation that “Cryptosystems often take slightly different amounts of time to process different inputs”, and showed how to recover a private exponent one bit at a time from such differences.32 His mechanism is statistical: the attacker predicts the timing contribution of each candidate bit and compares predictions with many measurements, which is different from reading a literal early exit. The common principle is that the secret is recovered piece by piece because the observable depends on each piece. The library’s cryptography reader explains the attack. Two of Kocher’s points have loose counterparts in the safe lock.

First, his attack has an “error-detection property”: after a wrong guess, “no more meaningful correlations are observed”.32 Blaze’s iterative procedure has a weaker analogue. It parks wheels at the lowest readings found so far, which need not be real gates, and later maps guide the operator to re-map and look for lower points.6

Second, noise raises the cost without closing the channel. Kocher found that random delays make attackers collect more measurements, and that “The number of samples required increases roughly as the square of the timing noise”.32 The manipulator’s version is the reading precision: Blaze says a quarter of a graduation “or better is needed to distinguish wheel low points on most locks”.15 Measurement tools improve on both sides. Crosby, Wallach and Riedi (ACM Transactions on Information and System Security, 2009) designed filters that, by their account, let an attacker measure events to an accuracy of 15 to 100 microseconds across the Internet and as good as 100 nanoseconds over a local network.33 On the lock side, Blaze describes a sticker marked in quarter graduations and a home-made Vernier scale reading to an eighth, and the Locksmith Ledger article describes a home-made pointer to spread the readings over a wider scale.15 14

Rate limits interact with noise. At DEF CON 33 in 2025 Mark Omo and James Rowley reported that, in the SafeLogic operating mode of the SecuRam firmware they analysed (from a unit made in 2018), the only gap they found was a “non-constant-time compare on the unlock code”. They were “unable to exploit it even with best in class power analysis”, and judged that even in the best case it would be “a very slow method (five-minute time out)”.34 Their slides do not say why exploitation failed.

Four lessons

  1. Independent testability can turn a product into a sum. A secret built from n parts is as strong as the product of their sizes only if the system answers about all of them together. Where the parts can be tested independently and an observable, such as fence depth or comparison time, distinguishes the right value reliably within the attacker’s measurement budget, the parts can be searched one after another. Blaze’s 203 against 287,496 is his bound for the physical case under those conditions, and Plore’s 60 against 1,000,000 a best-case estimate for one electronic lock.6 30
  2. Close second-order channels too. The Group 2 design already hides the gates from the fence while the dial turns.5 The leak came from a second-order effect, nose depth in the cam gate. The patents’ answers target that measurement directly by keeping the nose clear of the cam while the fence touches the wheels, and the software answer is a comparison whose timing does not depend on the content compared.26 31
  3. Tolerance is part of the channel. The window that makes a lock usable by hand also sets how many positions the attacker must distinguish, and the clearances that let parts fit without hand-fitting are what tilt the lever.10 14
  4. Measure the channel before trusting it. A decoy that differs from the real gate by a hundredth of an inch, or a random delay the attacker can average out, protects less than it appears to; if false answers are used, they have to be indistinguishable from the true one at the attacker’s resolution.22 32 The useful question is how many observations the attacker needs to separate the real answer from the decoys, and whether the system allows that many.

The electronic successors

Blaze left electronic locks out of his survey, calling their analysis “essentially a software and embedded system security problem”, and warned at the end that the move to them “may not represent unmitigated forward progress for security”, since such locks depend on “a sound software architecture and implementation as well”.2 1 The federal market made the move early. The DoD Lock Program’s newsletter says the 2011 revision of FF-L-2740 is titled “Locks, Combination, Electromechanical” because “a completely mechanical lock could not meet all requirements of the specification”.20

Omo and Rowley’s 2025 talk on the SecuRam ProLogic locks they tested described three separate things: access to the lock’s firmware and data through a debug port, an attack they call CodeSnatch that recovers codes, and a separate attack on the locksmith recovery feature that resets codes. None has a counterpart in a wheel pack.34 The safes article covers both talks and the question of manufacturer reset codes.

What to take away

For people who own or specify safes

The lock and the body of a safe are rated separately, and the ratings are explained in the safes article.

  • Know which group the lock is in. A Group 2 lock is, in Blaze’s words, considered secure against non-experts but offers only “moderate” resistance to manipulation, and in 2004 he reported that “The vast majority of commercial safes use Group 2 (and sometimes even unrated) locks.”2 Where a skilled, patient attacker with private access to the dial is in the threat model, choose a lock whose specific model listing addresses manipulation, and check what that listing actually tests. Blaze judged in 2004 that Group 1 locks cost little more but are less convenient to use; current prices were not checked for this article.2
  • Change the factory combination. S&G’s guide gives opening instructions for locks still on the factory setting of 50.7 As ordinary access control, change the combination when someone who knew it no longer should. Blaze’s note that manipulation can be spread across sessions “assuming the combination remains unchanged” also implies that numbers an attacker recovered in earlier sessions lose their value once those numbers have been changed; resetting a wheel to the same number changes nothing.6
  • Use the space the mechanism allows. Keep the last number out of the manufacturer’s forbidden zone, which exists for mechanical reasons, and avoid birthdays and other guessable numbers.11 10 Follow the model’s own instructions; Blaze’s counts show what selection rules cost in raw combinations, which is worth knowing but is not a reason to override them.19
  • Dial cleanly. Relock by turning the dial at least four revolutions to a number that is not in the combination, as S&G instructs.7 After changing a combination, keep the door open until the new combination has worked: S&G’s guide says the door “SHOULD NEVER BE CLOSED UNTIL THE NEW COMBINATION IS SUCCESSFULLY TRIED AT LEAST THREE TIMES”.11 As an additional diagnostic, the guide suggests dialling the new numbers half a number low and half a number high to check the setting and that the lock is within specification.10
  • Treat the rating as a time, not a guarantee. Blaze’s survey treats safe security as a time to defeat, set against how quickly guards or alarms respond. He also notes that test results are not lower bounds, since better tools or techniques may later reduce the time, so a laboratory rating is a guide to field delay rather than a promise of it.2

For engineers

What to checkWhat it assumesWhat the countermeasure changes
Every observable output of an authentication check: result, time, power, error messages, retry behaviourThat an attacker can measure it at some resolutionRemoving an output’s dependence on parts of the secret closes that channel; the overall search cost still depends on other observables and on how the secret was chosen
Whether comparisons avoid content-dependent shortcuts on the target hardwareThe attacker’s measurement precision, which can reach microseconds over the Internet in published workSuch a comparison removes the dependence of timing on the content compared; length and type may still leak31 33
How many failed attempts are allowed, and whether the counter can be interruptedThat a small leak needs many readings to exploitA robust rate limit caps the readings; added noise only raises their number32

Where the analogy holds less well

Physical manipulation needs private access to the dial, possibly over several sessions, and each trial costs seconds of turning; a timing attack on a networked service that is exposed and lacks retry limits can make very many queries from far away. Blaze himself argues that physical attacks “almost always entail at least some risk of exposure”, unlike the “low-risk, low-cost” attacks common against computers.1 He also judged that robotic dialling of Group 2 locks was generally slower than breaking into the container.19 Plore’s DEF CON 24 conclusions give the presenter’s own judgment of the electronic attacks: “Burglars aren’t going to bother with this.”30 No published statistics on how often manipulation is used in real safe burglaries, compared with force, were found for this article, so the relative frequency is unverified here. The analogy is about structure: a system that answers questions about parts of its secret can be searched part by part.

Conclusion

Three wheels, a cam and a spring-loaded lever let one dial set and test a three-number secret, and the cam lifts the fence clear so that the gates cannot be felt as they turn. Because wheels differ slightly in size and the parts are slightly out of true, usually one wheel at a time holds the fence up, and the width of the contact region at the cam gate measures how far the fence has fallen. With that gauge, an operator with graph paper can find the gates one wheel at a time. For an idealised lock with one dominant wheel and 66 positions per wheel, Blaze counts at most 203 trials where blind search would need up to 287,496. Dialling tolerance and manufacturers’ rules had already brought a nominal million combinations down to tens or a few hundreds of thousands. Manipulation-resistant locks answer by holding the fence off the wheels until the last moment or by making each contact feel different, and Group 1R locks add wheels built to resist radiographic reading. When a system lets each part of a secret be tested on its own, the attacker’s work becomes a sum instead of a product, and the noise in the channel and the number of readings allowed decide what the attack costs.

Footnotes

  1. Matt Blaze, “Safecracking for the computer scientist”, draft of 7 December 2004, revised 21 December 2004, University of Pennsylvania, section 4 “Conclusions”, pages 31 to 33. https://www.mattblaze.org/papers/safelocks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  2. Matt Blaze, “Safecracking for the computer scientist”, 21 December 2004 revision, sections 1.2 “Container security metrics”, 1.3 “Lock security metrics”, 1.3.2 “Manipulation resistance” and 1.4 “Using security metrics”, pages 3 to 8. https://www.mattblaze.org/papers/safelocks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  3. “UL 768, Combination Locks”, Edition 8, published 6 January 2006, last revision 22 August 2023, scope sections 1.1 to 1.3, UL Standards & Engagement catalogue page, accessed 1 December 2026. https://www.shopulstandards.com/ProductDetail.aspx?productId=UL768 (opens in a new tab) ↩
  4. Matt Blaze, “Safecracking for the computer scientist”, 21 December 2004 revision, sections 2 to 2.3 (lock overview, drive cam and lever, fence and wheel pack, dialing the combination), pages 8 to 15. https://www.mattblaze.org/papers/safelocks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  5. Matt Blaze, “Safecracking for the computer scientist”, 21 December 2004 revision, section 2.5 “Observations” and footnote 4, pages 16 and 17. https://www.mattblaze.org/papers/safelocks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  6. Matt Blaze, “Safecracking for the computer scientist”, 21 December 2004 revision, sections 3.3.3 “Wheel pack analysis: the simple case” (with footnotes 8 and 9 and Figure 16) and 3.3.4 “Wheel pack analysis: complex cases”, pages 27 to 29. https://www.mattblaze.org/papers/safelocks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13
  7. Sargent and Greenleaf, “Mechanical Safe Lock Guide”, Models 6730, 6735, 6738, 6741, copyright 2006, “Operating/Changing Instructions”, page 2 (manufacturer’s document). https://ftp.sargentandgreenleaf.com/pdf/book_mech_locks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
  8. “Sargent and Greenleaf (S&G) Manual Lock, Model 6730”, operating instructions issued by Rhino Metals for its safes fitted with this lock, undated (hosted on a retailer’s content server, read 1 December 2026). https://cdn.shopify.com/s/files/1/0607/3021/2512/files/SG_Manual_Lock_23A_gbe.pdf (opens in a new tab) ↩1 ↩2
  9. Matt Blaze, “Safecracking for the computer scientist”, 21 December 2004 revision, section 2.4 “Other considerations and design variants”, pages 15 and 16. https://www.mattblaze.org/papers/safelocks.pdf (opens in a new tab) ↩1 ↩2
  10. Sargent and Greenleaf, “Mechanical Safe Lock Guide”, copyright 2006, “Troubleshooting/Dialing Diagnostics”, pages 18 and 19 (dialing tolerance; wheel slippage and the forbidden zone) (manufacturer’s document). https://ftp.sargentandgreenleaf.com/pdf/book_mech_locks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  11. Sargent and Greenleaf, “Mechanical Safe Lock Guide”, copyright 2006, “Operating/Changing Instructions”, page 3: “Prepare for combination change” and “Selecting a new combination” (manufacturer’s document). https://ftp.sargentandgreenleaf.com/pdf/book_mech_locks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  12. Matt Blaze, “Safecracking for the computer scientist”, 21 December 2004 revision, section 3.3 “Surreptitious entry: lock manipulation” (with footnote 7 and Figure 13) and section 3.3.1 “Manipulation principles”, pages 22 to 24. https://www.mattblaze.org/papers/safelocks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
  13. Sargent and Greenleaf, “Mechanical Safe Lock Guide”, copyright 2006, “Combination Lock Glossary”, pages 5 to 8 (manufacturer’s document). https://ftp.sargentandgreenleaf.com/pdf/book_mech_locks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  14. “Opening Safes by Manipulation”, Locksmith Ledger (trade magazine), 1 March 2011. https://www.locksmithledger.com/keys-tools/article/10234161/manipulation-for-mechanical-combination-safe-locks (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  15. Matt Blaze, “Safecracking for the computer scientist”, 21 December 2004 revision, section 3.3.2 “Measuring relative fence depth”, pages 24 to 26. https://www.mattblaze.org/papers/safelocks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  16. Jan-Willem Markus (TOOOL Netherlands), “Safe lock manipulation 101”, training slides, Hackerhotel 2024, February 2024. https://blackbag.toool.nl/wp-content/uploads/2024/02/Safe-manipulation-101-v2.pdf (opens in a new tab) ↩1 ↩2
  17. Matt Blaze, “Safecracking for the computer scientist”, 21 December 2004 revision, section 3.3.5 “Learning manipulation”, pages 30 and 31. https://www.mattblaze.org/papers/safelocks.pdf (opens in a new tab) ↩1 ↩2
  18. Jan-Willem Markus, “Hackerhotel 2024: Safe cracking workshop”, TOOOL Blackbag blog, 16 February 2024. https://blackbag.toool.nl/?p=4593 (opens in a new tab) ↩
  19. Matt Blaze, “Safecracking for the computer scientist”, 21 December 2004 revision, section 1.3.1 “The combination keyspace” and footnotes 1 and 2, pages 5 to 7. https://www.mattblaze.org/papers/safelocks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
  20. “FF-L-2740B and its Locks”, Security Facts Newsletter, Issue 27, page 1, DoD Lock Program, NAVFAC EXWC, undated (archived copy). https://web.archive.org/web/20250531000452/https://exwc.navfac.navy.mil/Portals/88/Documents/EXWC/DoD_Locks/PDFs/SFN_Issue_27.pdf (opens in a new tab) ↩1 ↩2
  21. Nate (SparkFun Electronics), “Safe Cracking with Robots”, SparkFun news, 27 March 2017. https://news.sparkfun.com/2341 (opens in a new tab) ↩
  22. SparkFun Electronics (contributor: Nate), “Building a Safe Cracking Robot”, tutorial, sections “Introduction” and “The Problem Domain” onwards, undated, read 1 December 2026. https://learn.sparkfun.com/tutorials/building-a-safe-cracking-robot/all (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  23. Matt Blaze, “Cryptology and Physical Security: Rights Amplification in Master-Keyed Mechanical Locks”, preprint of 15 September 2002, revised 2 March 2003, published in IEEE Security and Privacy, March/April 2003, section 3.2. https://www.mattblaze.org/papers/mk.pdf (opens in a new tab) ↩
  24. Matt Blaze, “Safecracking for the computer scientist”, 21 December 2004 revision, section 3.3.6 “Design variants and manipulation countermeasures” and Figure 18, pages 31 and 32. https://www.mattblaze.org/papers/safelocks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  25. John Johns-Hunt (Chubb and Sons Lock and Safe Co.), “Combination lock”, US patent 4,257,249, filed 8 November 1978, granted 24 March 1981, Google Patents. https://patents.google.com/patent/US4257249A/en (opens in a new tab) ↩
  26. Walter R. Evans (Ilco Unican Corp.), “Combination lock preventing manipulation for unauthorized access”, US patent 5,632,170, filed 20 December 1995, granted 27 May 1997, Google Patents. https://patents.google.com/patent/US5632170A/en (opens in a new tab) ↩1 ↩2
  27. MIL-HDBK-1013/8, “Military Handbook: Combination Locks”, Naval Facilities Engineering Command, 31 December 1989, sections 2.1.1, 2.2.1, 3.2.2, 3.2.2.1 and 3.5.2 (archived copy from the DoD Lock Program). https://web.archive.org/web/20250531003110/https://exwc.navfac.navy.mil/Portals/88/Documents/EXWC/DoD_Locks/PDFs/MIL-HDBK-1013-08.pdf (opens in a new tab) ↩1 ↩2 ↩3
  28. Martin Richard Rhoades (Sargent and Greenleaf, Inc.), “Manipulation resistant combination lock and method”, US patent 5,749,252, filed 15 April 1996, granted 12 May 1998, Google Patents. https://patents.google.com/patent/US5749252A/en (opens in a new tab) ↩1 ↩2
  29. Harry C. Miller, Stephen Helesfai, John R. Bishop and Gregory Lainhart (Sargent and Greenleaf, Inc.), “Radiological detection resistant key changeable combination lock”, US patent 4,776,190, filed 22 January 1987, granted 11 October 1988, Google Patents. https://patents.google.com/patent/US4776190A/en (opens in a new tab) ↩
  30. Plore, “Side-channel attacks on high-security electronic safe locks”, DEF CON 24, 2016, slides on the S&G Titan PivotBolt timing attack, lockout defeat and conclusions. https://media.defcon.org/DEF%20CON%2024/DEF%20CON%2024%20presentations/DEF%20CON%2024%20-%20Plore-Side-Channell-Attacks-High-Security-Locks-UPDATED.pdf (opens in a new tab) ↩1 ↩2 ↩3
  31. Python Software Foundation, “hmac — Keyed-Hashing for Message Authentication”, Python 3 documentation, entry for compare_digest, read 1 December 2026. https://docs.python.org/3/library/hmac.html (opens in a new tab) ↩1 ↩2 ↩3
  32. Paul C. Kocher, “Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems”, Advances in Cryptology, CRYPTO ‘96, pages 104 to 113, 1996; author’s copy, sections 1, 3 and 9. Bibliographic details checked against https://cr.yp.to/bib/1996/kocher.bibtex (opens in a new tab). https://paulkocher.com/doc/TimingAttacks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  33. Scott A. Crosby, Dan S. Wallach and Rudolf H. Riedi, “Opportunities and Limits of Remote Timing Attacks”, ACM Transactions on Information and System Security 12(3), article 17, 2009, abstract (authors’ copy, Rice University). https://www.cs.rice.edu/~dwallach/pub/crosby-timing2009.pdf (opens in a new tab) ↩1 ↩2
  34. Mark Omo and James Rowley, “Cash, Drugs, and Guns: Why Your Safes Aren’t Safe”, DEF CON 33, 2025, slides 12 (“TopLit/SafeLogic is… actually fine!”) and the CodeSnatch and lock recovery (ResetHeist) sections. https://media.defcon.org/DEF%20CON%2033/DEF%20CON%2033%20presentations/Mark%20Omo%20James%20Rowlery%20-%20Cash,%20Drugs,%20and%20Guns%20Why%20Your%20Safes%20Aren't%20Safe.pdf (opens in a new tab) ↩1 ↩2