fix whitespaces
truncate hash values to curve M