# rdist

Embedded security, cryptography, software protection

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Returning to Writing About Cryptography, Embedded Systems, and Security

DevFeed: [Returning to Writing About Cryptography, Embedded Systems, and Security](<https://devfeed.tech/articles/rebooting-36637.md>)

Original publisher: [Read original article](<https://rdist.root.org/2022/11/17/rebooting/>)

Author: Nate Lawson

Published: 2022-11-17T20:59:04Z

Content type: opinion

Language: en

Sources: [rdist](<https://devfeed.tech/sources/rdist.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Security](<https://devfeed.tech/topics/security.md>), [Embedded Systems](<https://devfeed.tech/topics/embedded-systems.md>)

Tags: [cryptography](<https://devfeed.tech/tags/cryptography.md>), [embedded](<https://devfeed.tech/tags/embedded.md>), [security](<https://devfeed.tech/tags/security.md>), [systems](<https://devfeed.tech/tags/systems.md>)

### AI overview

The author announces a return to writing about cryptography, embedded systems, and security. The article also highlights a podcast discussion covering past projects and changes in these fields over 25 years.

### Source excerpt

I've recently had some time to catch up on reading and research. I've decided to start writing again here about cryptography, embedded systems, and security. Recently, I enjoyed being on the "Security, Cryptography, Whatever" podcast. I got a chance to cover some past projects and how the fields of cryptography and security have changed over ... Continue reading Rebooting

## Evaluating Technology Regressions and Historical Alternatives

DevFeed: [Evaluating Technology Regressions and Historical Alternatives](<https://devfeed.tech/articles/was-the-past-better-than-now-36635.md>)

Original publisher: [Read original article](<https://rdist.root.org/2014/12/01/was-the-past-better-than-now/>)

Author: Nate Lawson

Published: 2014-12-01T12:00:32Z

Content type: opinion

Language: en

Sources: [rdist](<https://devfeed.tech/sources/rdist.md>)

Topics: [Software](<https://devfeed.tech/topics/software.md>), [systems](<https://devfeed.tech/topics/systems.md>), [data](<https://devfeed.tech/topics/data.md>), [mac os](<https://devfeed.tech/topics/mac-os.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [cpu](<https://devfeed.tech/topics/cpu.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [history](<https://devfeed.tech/tags/history.md>), [security](<https://devfeed.tech/tags/security.md>), [software](<https://devfeed.tech/tags/software.md>), [system-design](<https://devfeed.tech/tags/system-design.md>), [systems](<https://devfeed.tech/tags/systems.md>), [technology](<https://devfeed.tech/tags/technology.md>)

### AI overview

The article argues for evaluating technology by examining both its benefits and its regressions rather than treating progress as simply good or bad. It uses the microwave oven and software design as examples, and advocates teaching critical analysis of historical choices in software and system design.

### Source excerpt

Here we go again -- another article arguing whether the past was better or not (this one says "better"). These articles are tiresome, rehashing the debate whether technology is enabling or isolating and dehumanizing. But I'm interested in a different line of technology criticism: which parts of technology are a regression and what to do about ... Continue reading Was the past better than now?

## Thought experiment on protocols and noise

DevFeed: [Thought experiment on protocols and noise](<https://devfeed.tech/articles/thought-experiment-on-protocols-and-noise-36634.md>)

Original publisher: [Read original article](<https://rdist.root.org/2014/11/04/thought-experiment-on-protocols-and-noise/>)

Author: Nate Lawson

Published: 2014-11-04T18:42:52Z

Content type: opinion

Language: en

Sources: [rdist](<https://devfeed.tech/sources/rdist.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [Protocol (disambiguation)](<https://devfeed.tech/topics/protocol.md>), [sha-256](<https://devfeed.tech/topics/sha-256.md>), [hash](<https://devfeed.tech/topics/hash.md>)

Tags: [crypto](<https://devfeed.tech/tags/crypto.md>), [hash](<https://devfeed.tech/tags/hash.md>), [hmac](<https://devfeed.tech/tags/hmac.md>), [network](<https://devfeed.tech/tags/network.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [security](<https://devfeed.tech/tags/security.md>), [sha-256](<https://devfeed.tech/tags/sha-256.md>)

### AI overview

A security thought experiment examines how to respond when an HMAC does not verify, including whether comparing MAC differences could distinguish network noise from tampering. It questions the security risks of exposing error details or accepting messages with altered MAC bits.

### Source excerpt

I hesitate to call this an interview question because I don't think on-the-spot puzzle solving equates to a good engineering hire. On the other hand, I try to explore some simple thought experiments with candidates that have a security background. One of these involves a protocol that has messages authenticated by an HMAC. There's a message ... Continue reading Thought experiment on protocols and noise

## Timing-safe memcmp and API parity

DevFeed: [Timing-safe memcmp and API parity](<https://devfeed.tech/articles/timing-safe-memcmp-and-api-parity-36633.md>)

Original publisher: [Read original article](<https://rdist.root.org/2014/06/24/timing-safe-memcmp-and-api-parity/>)

Author: Nate Lawson

Published: 2014-06-24T12:03:33Z

Content type: opinion

Language: en

Sources: [rdist](<https://devfeed.tech/sources/rdist.md>)

Topics: [API](<https://devfeed.tech/topics/api.md>), [C](<https://devfeed.tech/topics/c.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [vulnerability](<https://devfeed.tech/topics/vulnerability.md>), [ordering](<https://devfeed.tech/topics/ordering.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [assembly](<https://devfeed.tech/tags/assembly.md>), [branch-prediction](<https://devfeed.tech/tags/branch-prediction.md>), [c](<https://devfeed.tech/tags/c.md>), [cache](<https://devfeed.tech/tags/cache.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [developers](<https://devfeed.tech/tags/developers.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [performance](<https://devfeed.tech/tags/performance.md>), [security](<https://devfeed.tech/tags/security.md>), [timing](<https://devfeed.tech/tags/timing.md>)

### AI overview

The article discusses OpenBSD's timing-safe bcmp and memcmp APIs. It supports simpler constant-time equality comparison but questions timing-safe ordered comparison because compiler and CPU behavior may undermine its guarantees and because ordering secret data can indicate larger architectural problems.

### Source excerpt

OpenBSD released a new API with a timing-safe bcmp and memcmp. I strongly agree with their strategy of encouraging developers to adopt "safe" APIs, even at a slight performance loss. The strlcpy/strlcat family of functions they pioneered have been immensely helpful against overflows. Data-independent timing routines are extremely hard to get right, and the farther you are from ... Continue reading Timing-safe memcmp and API parity

## In Defense of JavaScript Crypto

DevFeed: [In Defense of JavaScript Crypto](<https://devfeed.tech/articles/in-defense-of-javascript-crypto-36632.md>)

Original publisher: [Read original article](<https://rdist.root.org/2014/06/23/in-defense-of-javascript-crypto/>)

Author: Nate Lawson

Published: 2014-06-23T12:05:28Z

Content type: opinion

Language: en

Sources: [rdist](<https://devfeed.tech/sources/rdist.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Security](<https://devfeed.tech/topics/security.md>), [Web](<https://devfeed.tech/topics/web.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [SSL](<https://devfeed.tech/topics/ssl.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [credit-card](<https://devfeed.tech/tags/credit-card.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [google](<https://devfeed.tech/tags/google.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [race-condition](<https://devfeed.tech/tags/race-condition.md>), [security](<https://devfeed.tech/tags/security.md>), [ssl](<https://devfeed.tech/tags/ssl.md>)

### AI overview

This opinion argues that JavaScript cryptography in web pages remains difficult to implement safely. It discusses JavaScript's language-related problems for cryptographic code, limitations in proposed workarounds, and risks in using browser-side encryption to avoid PCI audit scope or reduce backend encryption.

### Source excerpt

Thai Duong wrote a great post outlining why he likes JavaScript crypto, although it's not as strong a defense as you might guess from the title. While he makes some fair points of some limited applications of JavaScript, his post is actually a great argument against those pushing web page JS crypto. First, he starts off with ... Continue reading In Defense of JavaScript Crypto