From: Shanti Braford Date: 2007-10-31T10:32:39+09:00 Subject: Re: (BitTorrent-related) binary "string" to hexadecimal? Ok in case anyone is curious, this seems to work... digest_hex = digest.unpack('H*') # => "0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33" http://www.ruby-doc.org/core/classes/String.html#M000775 I still have no clue what a "hex nibble" is but it does the trick in a pinch! =) -- Posted via http://www.ruby-forum.com/.