Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
dontdoxxme
3mo ago
0 comments
Save
Share
Very similar to bittorrent’s bencode. That has the benefit that it has a canonical encoding which this doesn’t (because of the different compression options). I wouldn’t be put off by how it looks as text.
0 comments
1 comments · 1 top-level
top
newest
oldest
creationix
3mo ago
Very true. I had forgotten about bencode, I should read up on that again.
It makes sense they need a canonical form because they want same values to have same content hashes.
j
/
k
navigate · click thread line to collapse