3 ms·
The author seems aware that it is possible, however: > Rather than trying to create this by hand, I used a brute-force solution (I’m sure there are much better
by deathanatos 11y ago
The author seems aware that it is possible, however:
> Rather than trying to create this by hand, I used a brute-force solution (I’m sure there are much better ways, but I wanted to whip up a script and leave it running):
He just didn't want to learn DEFLATE right then, right there. He got the same result.
FWIW, I don't think this is actually hard. DEFLATE has a small header that tells you want type of compressed data follows; one of the types is "literally, this data" which is up to 64KiB long. (i.e., a plenty long enough string to get the job done.)