Convert HEX String to ASCII in Ruby

str = '6b 75 6d 6b 65 65 65 2e 63 6f 6d'
str.split(' ').each { |val|
  print val.hex.chr
}

or you could just use centricle.com ASCII - HEX Converter


No Comments to “Convert HEX String to ASCII in Ruby”  

  1. No Comments

Leave a Reply