Ruby read hexidecimal

# Your hexadecimal string
hex_string = "68656c6c6f"

# Decode the hexadecimal string
decoded_string = [hex_string].pack("H*")

# Output the decoded string
puts decoded_string
Back