added hex string to/from bytevector conversion functions