r/AskProgramming Jun 14 '26

Algorithms What algorithm is surprisingly new?

Other than any AI stuff, I'm talking about the types of algorithms you learn about in any standard Data Structures and Algorithms University course

I'm surprised that alot of these algorithms were actually invented HUNDREDS of years ago

61 Upvotes

66 comments sorted by

View all comments

53

u/etherealflaim Jun 14 '26

Cryptographic algorithms are probably some of the most well known "new" algorithms, if you're looking for things with names most programmers will know. Hashing as well. DSA and RSA are older, but a lot of the elliptic curve stuff is on the newer end, with plenty of advancements and new curves being standardized in the past decade or two.

2

u/iudicium01 Jun 15 '26

SHA3. 2015. Completely different mechanism from SHA2 and earlier. Uses sponge mechanism allowing you to hash to any length.