hash functions take a <byte-string>, not a <string>