Set length to 41 (40 hex characters + null).