Carter Bancroft

Symmetric Encryption, Because it's Interesting

These days, there are two major "categories" of encryption. Symmetric key encryption and Asymmetric key encryption. Today we're going to talk about the symmetric side of things. What is it? How does it work? Examples, etc. Let's dive in. What is it? Symmetric encryption

Fixing My Stupid Broken MongoDB Install in OSX

I'm writing this gist of an article because I'm almost certainly going to have this problem again. Today I upgraded my local MongoDB installation using Homebrew from v3.2 straight to v4.0. Spoiler alert, it turns out that if you have database data under an

On Writing

I've never considered myself much of a writer. During college, if we had a semester to write a 15 page paper I'd start it 6 hours before it was due and in high school I often didn't write the paper at all. They probably

Basic CS Concepts to Master For Cryptography (and More)

OK so this is, to some, a boring topic. I like this sort of thing because it's foundational to how computers work. It's the underpinnings of how I can bang on this keyboard to make stuff happen on the screen, how your Tesla autopilot (you have

Part 3: Breaking Repeating Key XOR Programmatically

This is part three in a three part series on repeating key XOR encryption inspired by Cryptopals challenges five and six of set one. In part one I broke down how to understand and implement repeating key XOR. I'd recommend you start there. In part two I described

Carter Bancroft © 2026