title: Is it possible to compare a short sub-string with a hashed long string
body: <p>I only have the hash value of a long string, but I cannot access the content of it.</p>
  
  <p>Now I have a new short string, which could be contained by the long string. I need to identify if the long string contains the short string or not. </p>
  
  <pre><code>Integer longStringHash = 352736;
  
  String shortString = "hello world";
  
  if (compare(hash(shortString), longStringHash) == 1) {
    ;// wow, they are very close!
  }
  </code></pre>
  
  <p>Are there any algorithms for this purpose?</p>
  
  <p>ps. The length of the shortString is smaller than that of the longString .</p>