Skip to content

Hash function

hex = "ab"
binary = [hex].pack("H*") # H = hex string (highest byte first), * = multiple bytes