Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
SplitDuck.com Use A/B testing to increase revenue
38

Multiple input MACs

from Neil Madden [alt+shift+b] in technology

When working with Message Authentication Codes (MACs), you often need to authenticate not just a single string, but multiple fields of data. For example, when creating an authenticated encryption mode by composing a cipher and a MAC (like AES-CBC and HMAC), you need to ensure the MAC covers the IV, associated data, and the ciphertext. […]
27th Oct 2021

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from Neil Madden

Is elliptic curve crypto broken?

There has been a lot of speculation recently that 256-bit elliptic curve cryptography (ECC) is broken. This stems from the NSA announcements about some undisclosed briefing from one or more LLM vendors about weaknesses in currently-deployed cryptography, and thus recommending an immediate transition to post-quantum crypto. This has led some to speculate that this is […]

yesterday • 1 votes
Are we any closer to the Quantum Apocalypse?

Another day, another urgent pronouncement on the need to transition to post-quantum cryptography ASAP: this one from the White House, in the form of an Executive Order requiring certain “high value” systems to transition to post-quantum cryptography (PQC) by the end of 2030 (for key exchange) or 2031 (for signatures). This brings forward the date […]

2nd Jul 2026 • 1 votes
Java’s SSLContext protocol name is a footgun

This should be old news, but I keep seeing the same mistake crop up, so I thought I’d blog about it and spread awareness. In Java, if you want to configure TLS you generally start with an SSLContext. And you get an instance of this class by calling the static method SSLContext.getInstance("TLSv1.3"), specifying the version […]

23rd Jun 2026 • 1 votes
Mythos and its impact on security

I’m sure by now you’ve all read the news about Anthropic’s new “Mythos” model and its apparently “dangerous” capabilities in finding security vulnerabilities. I’m sure everyone reading this also has opinions about that. Well, here are a few of mine. Is it all just hype? Firstly, it’s tempting to dismiss the announcement as pure marketing […]

14th Apr 2026 • 1 votes
Why I don’t use LLMs for programming

I originally posted this on Mastodon, but I thought I’d add it here too: “What I mean is that if you really want to understand something, the best way is to try and explain it to someone else. That forces you to sort it out in your own mind. And the more slow and dim-witted […]

2nd Mar 2026 • 1 votes

More in technology

Is elliptic curve crypto broken?

There has been a lot of speculation recently that 256-bit elliptic curve cryptography (ECC) is broken. This stems from the NSA announcements about some undisclosed briefing from one or more LLM vendors about weaknesses in currently-deployed cryptography, and thus recommending an immediate transition to post-quantum crypto. This has led some to speculate that this is […]

yesterday • 1 votes
Editors Should Reject Bad AI-Written Academic Articles Because They’re Bad

Programming note: EUI’s student radio station, Radio Cavolo, is hosting a livestream festival tonight, including at 9pm CET / 3pm EST an interview with me. Should be fun, tune in!

yesterday • 2 votes
Why Did Big Pharmaceutical Companies Abandon Antibiotics?

Antibiotics are one of the most important medical discoveries of the 20th century.

yesterday • 1 votes
The Pulse: Is Amazon’s writing culture collapsing because of AI?

A former Amazon engineer sees signs that the ‘six-pager’ documents used to promote good decision making are increasingly AI-generated and AI-read, and warns it’s not a positive development.

2 days ago • 2 votes
Time and Temperature

In the 1960s, if you lived in Columbia, Missouri, you could pick up the telephone and dial “118,” and after a ring or two you could hear “Time and temperature, another service of Boone County National Bank. Time [7:59 a.m., for example], temperature [54, say] degrees.”

3 days ago • 2 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in