Stuff for Bash
Convert a string to hexa
echo -n "text" | od -A n -t x1 |sed 's/ //g'|awk '{print "0x"$1}'