Live data from Hacker News

YouTube video has its own URL in it

youtube.com

121–130 of 160 posts

Re: YouTube video has its own URL in it

#121
post #68

This reminds me of the holy Grail (for me anyway) of a file containing its own hash

It's not that difficult to do if you use a weak hash (eg crc32) and bruteforce it.

Also you could pad the file with some extra data, but that feels like cheating.

Re: YouTube video has its own URL in it

#122

Earlier quoted context omitted.

The video, running at 60fps, would have to be 38996161157 years long for this to be a possibility Even if you predicted the first 3 symbols of the id, you'd still need a 148758 years long video

What? 38 frames * 8 (or however many possible characters there are.

What?

It's 62^11 * 0.016 (seconds). 11 because 11-character-long id; 62 because 62 possible characters in each location (26 lowercase, 26 uppercase, 10 numerals); 16ms in each frame of a 60fps video.

Post reply on HN