Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
12
It turns out you can encrypt more than 2^32 messages with AES-GCM with a random nonce under certain conditions. It’s still not a good idea, but you can just about do it. #cryptography
9 months ago

Improve your reading experience

Logged in users get linked directly to articles resulting in a better reading experience. Please login for free, it takes less than 1 minute.

More from Neil Madden

The square roots of all evil

Every programmer knows Donald Knuth’s famous quote that “premature optimization is the root of all evil”, from his 1974 Turing Award lecture (pdf). A fuller quotation of the surrounding context gives a rounder view: I am sorry to say that many people nowadays are condemning program efficiency, telling us that it is in bad taste. […]

3 months ago 21 votes
Digital signatures and how to avoid them

Wikipedia’s definition of a digital signature is: A digital signature is a mathematical scheme for verifying the authenticity of digital messages or documents. A valid digital signature on a message gives a recipient confidence that the message came from a sender known to the recipient. —Wikipedia They also have a handy diagram of the process […]

5 months ago 12 votes
Machine Learning and the triumph of GOFAI

I’ve been slowly reading Brian Cantwell Smith’s “The Promise of Artificial Intelligence” recently. I haven’t finished reading it yet, and like much of BCS’s writing, it’ll probably take me 3 or 4 read-throughs to really understand it, but there’s one point that I want to pick up on. It is the idea that “Good Old-Fashioned […]

8 months ago 14 votes
SipHash-based encryption for constrained devices

I see a lot of attempts to define encryption schemes for constrained devices with short authentication tags (e.g., 64 bits) using universal hashing. For example, there’s a proposal in CFRG at the moment for a version of AES-GCM with short tags for this kind of use-case. In my (admittedly limited) experience, these kinds of constrained […]

10 months ago 8 votes

More in technology

This Arduino device helps ‘split the G’ on a pint of Guinness

Guinness is one of those beers (specifically, a stout) that people take seriously and the Guinness brand has taken full advantage of that in their marketing. They even sell a glass designed specifically for enjoying their flagship creation, which has led to a trend that the company surely appreciates: “splitting the G.” But that’s difficult […] The post This Arduino device helps ‘split the G’ on a pint of Guinness appeared first on Arduino Blog.

11 hours ago 2 votes
Why Website Taxonomies Drift (and What to Do about It)

AI is everywhere, but most websites are still managed manually by humans using content management systems like WordPress and Drupal. These systems provide means for tagging and categorizing content. But over time, these structures degrade. Without vigilance and maintenance, taxonomies become less useful and relevant over time. Users struggle to find stuff. Ambiguity creeps in. Search results become incomplete and unreliable. And as terms proliferate, the team struggles to maintain the site, making things worse. The site stops working as well as it could. Sales, engagement, and trust suffer. And the problem only gets worse over time. Eventually, the team embarks on a redesign. But hitting the reset button only fixes things for a while. Entropy is the nature of things. Systems tend toward disorder unless we invest in keeping them organized. But it’s hard: small teams have other priorities. They’re under pressure to publish quickly. Turnover is high. Not ideal conditions for consistent tagging. Many content teams don’t have governance processes for taxonomies. Folks create new terms on the fly, often without checking whether similar ones exist. But even when teams have the structures and processes needed to do it right, content and taxonomies themselves change over time as the org’s needs and contexts evolve. The result is taxonomy drift, the gradual misalignment of the system’s structures and content. It’s a classic “boiled frog” situation: since it happens slowly, teams don’t usually recognize it until symptoms emerge. By then, the problem is harder and more expensive to fix. Avoiding taxonomy drift calls for constant attention and manual tweaking, which can be overwhelming for resource-strapped teams. But there’s good news on the horizon: this is exactly the kind of gradual, large-scale, boring challenge where AIs can shine. I’ve worked on IA redesigns for content-heavy websites and have seen the effects of taxonomy drift firsthand. Often, one person is responsible for keeping the website organized, and they’re overwhelmed. After a redesign, they face three challenges: Implementing the new taxonomy on the older corpus. Learning to use the new taxonomy in their workflows. Adapting and evolving the taxonomy so it remains useful and consistent over time. AI is well-suited to tackling these challenges. LLMs excel at pattern matching and categorizing existing text at scale. Unlike humans, AIs don’t get overwhelmed or bored when categorizing thousands of items over and over again. And with predefined taxonomies, they’re not as prone to hallucinations. I’ve been experimenting with using AI to solve taxonomy drift, and the results are promising. I’m building a product to tackle this issue, and looking implement the approach in real-world scenarios. If you or someone you know is struggling to keep a content-heavy website organized, please get in touch.

21 hours ago 1 votes
Why are sine waves so common?

A simple question that takes some effort to answer in a satisfying way.

yesterday 4 votes
Intel and the New Millenium

Losing the performance crown

2 days ago 4 votes
Apple might be cooking this fall

Tim Hardwick reporting on Gurman’s reporting in Bloomberg, which I don’t have access to, so I’m quoting the MacRumors article: While specific details are scarce, it's supposedly the biggest update to iOS since iOS 7, and the biggest update to macOS since

2 days ago 2 votes