fromHex
ecurve compatibility
all tests now pass