Skip to main content

Recent Activity

Recent Heroes of the BenNadel.com Community

Recent Comments

Ben Nadel replied to a post Constant-Time Equality Check In ColdFusion

@John, Interesting! I had tried to google for it originally (see my first comment), but the JavaDocs I came across didn't seem to have any mention of it. Though, to be 1000% fair, it's completely — read "likely" — possible that I just wasn't reading close enough 😆 Well, I'm still glad I tried it my... read entire comment from Ben Nadel.

John Whish replied to a post Constant-Time Equality Check In ColdFusion

Interesting article Ben! I did a bit of digging and it seems that OpenJDK/Oracle states this in the implementation note: All bytes in digesta are examined to determine equality. The calculation time depends only on the length of digesta. It does not depend on the length of digestb or the contents of... read entire comment from John Whish.

Ben Nadel replied to a post Constant-Time Equality Check In ColdFusion

@Tony, The string lengths are point of short-circuiting in my approach here. So it would at least prevent some of the CPU burn. But, it's also a good reminder that security is always a layered approach. Just because I'm short-circuiting, the form post is still parsed and allocated and all that jazz.... read entire comment from Ben Nadel.

Ben Nadel replied to a post Constant-Time Equality Check In ColdFusion

I'll add that when I was doing some research for this post, a number of people just said to reach for Java's MessageDigest.isEqual() method. Apparently, this method has been updated to use a constant-time comparison under the hood in response to a security ticket many years ago. However, the method ... read entire comment from Ben Nadel.

Ben Nadel replied to a post AI Makes Sitting With Discomfort Feel Shameful

@Jim, I'm in total agreement that having a tool that can help you solve problems is 100% a value-add. Though, I'll admit that I don't find myself doing a lot of new things in my life - but I think that's just me, my life is comfortably boring in many ways 😜 but, it definitely removes friction when ... read entire comment from Ben Nadel.

Sam G replied to a post AI Makes Sitting With Discomfort Feel Shameful

At some point, the AI will be eating its own tail by endlessly training on its own regurgitated garbage. The only new content contributing to human intelligence at that point will be produced from thinkers such as yourself. The nuance you describe DOES have value. I want to believe our AI-augmented ... read entire comment from Sam G.

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel
Managed ColdFusion hosting services provided by:
xByte Cloud Logo