D
Daniel Waite
This isn't a Ruby-specific question, I suppose, but it's the language
I'm using for this project so I figured I'd ask here.
I've created a .torrent file, and between the bencoding is a
representation of the contents of the file I want to share (a small text
file):
20:Ÿø\îµÊ^Ω¬ ‡m$æÉ* ú0*
My question is, how does the BT client go from plain text to that? The
BT protocol spec says that pieces of data get SHA1'd, but I've never
seen a SHA1 hash look like that.
What am I missing?
In case the sample characters I pasted don't show up right, here's a
screen shot:
http://rabbitcreative.com/strange-charas.png
I'm using for this project so I figured I'd ask here.
I've created a .torrent file, and between the bencoding is a
representation of the contents of the file I want to share (a small text
file):
20:Ÿø\îµÊ^Ω¬ ‡m$æÉ* ú0*
My question is, how does the BT client go from plain text to that? The
BT protocol spec says that pieces of data get SHA1'd, but I've never
seen a SHA1 hash look like that.
What am I missing?
In case the sample characters I pasted don't show up right, here's a
screen shot:
http://rabbitcreative.com/strange-charas.png