Why are you encoding this as hex?