I'm worried about relying on remote servers for random numbers, especially for cryptographic purposes. There's no way to verify that you aren't the only person with access to those numbers, and it's fairly difficult even as the sysadmin to ensure that they're logged nowhere.
this post was submitted on 08 Jan 2025
116 points (94.6% liked)
Programmer Humor
19907 readers
1782 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
"oops our software had a bug that made it return nonrandom values for a month"
Context for those who don't get it: https://www.youtube.com/watch?v=1cUUfMeOijg
I miss tom scot videos
Excuse me, I believe, you mean qu\ntumr\ndomnumbers. You see, it's the Windows path equivalent of /dev/random.
int getRandomNumber() {
return 4; // chosen by a fair dice roll. guaranteed to be random.
}
Wasn't it a dice roll that decided that? ๐ค
yeah, i copied the xkcd wrong ๐คฆโโ๏ธ thanks, i'll edit it
Instead of returning a random number, what if we make the program guess?
What happened to bitcoin block hashes?