Hacker News new | ask | show | jobs
by lajy 790 days ago
> But if you got a computer program with 1% of the instructions switched out, I bet you’d get a non-working program.

I believe it was a comment I saw on here once that took it a step further and included the OS and all hardware logic in there as well. I can have two identical desktop computers with only one program installed on each, the only difference being that the program is totally different. Those two devices could ultimate be two seemingly completely unrelated machines to the end user, even though they share far more than 99% of the exact same instructions. The only "code" they wouldn't share is the specific program they run. Everything else from the hardware to the OS is many millions of "lines" that are the same.

Something that plays movies nonstop vs a production database. Photoshop vs Halo: The Master Chief Collection. An IDE vs a point of sale system. Control software vs a web browser. A program that locks you into the software vs one that still gives you access to the OS. The differences can start getting seemingly huge very quickly.

1 comments

Hashing functions do that.

Q: How many bits in the resultant hash will change, if the x bits are changed in its the original input

A: 50% on average, regardless of how many bits are changed.

All you are doing in your mind is devising scenarios to map different resultant strings to plausible reallife scenarios and spooking yourself.

https://crypto.stackexchange.com/questions/71988/how-many-bi...