If size of pattern is same as size of current dictionary word and both pattern and the word has same hash , print the word
if ( dict [ word ] . length == len && encodeString ( dict [ word ] ) == ( hash ) ) document . write ( dict [ word ] + " " ) ; } }