17 18 19
# File 'lib/onchain/block_chain.rb', line 17 def bin_to_hex(bin) return bin.unpack("H*")[0] end