From: instance_variable ok Date: 2012-04-28T01:21:52+09:00 Subject: Re: why does this return 255 bits instead of 256 (and general bit byte hex string array crypt mayhem woot solved getting the binary string representation with this: puts OpenSSL::BN.new(test_hash_value.to_s, 16).to_s(2).unpack("B*")[0].length => 256 -- Posted via http://www.ruby-forum.com/.