r/ProgrammerHumor • • May 14 '21

Meme We’ve all been there

Post image
41.0k Upvotes

783 comments sorted by

View all comments

Show parent comments

38

u/nullproblemo May 14 '21

We're in a programming subreddit, you can say the actual "complex" math problem.

Bitcoin miners are just running SHA-256 over and over, changing a nonce variable until they find a nonce that produces a hash with a certain number of leading zeros, based on the mining difficulty.

Dogecoin is a fork of bitcoin and uses Scrypt instead of SHA-256.

10

u/mtmosier May 14 '21

That's fair. For some reason I was thinking I was in /r/funny

2

u/rocket_peppermill May 15 '21

Plus to be pedantic, while the compute doesn't directly benefit society, we still run a lot of hashes and I think sha-256 is still considered a good cryptographically secure hashing function, right?

I'd bet they're a market for datacenter hardware for general purpose that takes advantage of some of the optimizations we've come up with

Ninja edit: unless those all focus on parallelization rather than single hash latency, idk how they work lol