Fix hex decoding in FieldElement