module RbNaCl::Util
def hex2bin(hex)
-
(String)
- crisp and clean bytes
Parameters:
-
hex
(String
) -- hex to decode.
def hex2bin(hex) [hex.to_s].pack("H*") end
(String)
- crisp and clean bytes
hex
(String
)
-- hex to decode.
def hex2bin(hex) [hex.to_s].pack("H*") end