title: Computing a (Non-MD5) 128 bit hash with salt
body: <p>So for a piece of code I am writing, I want to create a 128 bit hash - like the one in the MurmurHash3 library (<a href="https://pypi.python.org/pypi/mmh3/2.5.1" rel="nofollow noreferrer">https://pypi.python.org/pypi/mmh3/2.5.1</a>)</p>
  
  <p><strong>Note: I also want to add a salt to the hash which I already have as a string</strong></p>
  
  <p>I was looking around and it was suggested to truncate a SHA256 hash to 128 bits, but is there a way to get SHA256 using Crystal?</p>
  
  <p>I know it supports MD5 and SHA1 in its libraries, but could I even use the OpenSSL library in the code? Would this require the OS to be running OpenSSL?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>There is an <code>OpenSSL::Digest</code> module in Crystal (<a href="https://crystal-lang.org/api/0.24.1/OpenSSL/Digest.html" rel="nofollow noreferrer">https://crystal-lang.org/api/0.24.1/OpenSSL/Digest.html</a>) but how can I generate a hash to eventually be truncated to 128 bits</p>