module RbNaCl::Util

def hex2bin(hex)

Returns:
  • (String) - crisp and clean bytes

Parameters:
  • hex (String) -- hex to decode.
def hex2bin(hex)
  [hex.to_s].pack("H*")
end