create hash from utf8 string