index.js
function hexToBytes(hex) {
	var bytes = [];
	for(var c = 0, C = hex.length; c < C; c += 2) {
		bytes.push(parseInt(hex.substr(c, 2), 16));
	}
	return bytes;
}
function hexToBytes(hex) {
	var bytes = [];
	for(var c = 0, C = hex.length; c < C; c += 2) {
		bytes.push(parseInt(hex.substr(c, 2), 16));
	}
	return bytes;
}
function hexToBytes ( hex ) { var bytes = [ ] ; for ( var c = 0 , C = hex . length ; c < C ; c += 2 ) { bytes . push ( parseInt ( hex . substr ( c , 2 ) , 16 ) ) ; } return bytes ; }
convert a hex value to a byte array
@param {String} hex string of hex to convert to a byte array
@return {Array} bytes
convert a hex value to a byte array