title: CryptoJS and PHP SHA256
body: <p>I would like to get Both <a href="https://code.google.com/p/crypto-js/#SHA-2" rel="nofollow">CryptoJS's SHA256</a>  and php's Crypt SHA256 output to match.</p>
  
  <p>PHP crypt has a salt and a number of rounds. E.g. for 5000 rounds and salt of "usesomesillystringforsalt" it would be;</p>
  
  <p><code>
  <code>$hash = crypt('Clear Text String', '$5$rounds=5000$usesomesillystringforsalt$');</code>
  </code></p>
  
  <p>I hope im not blind, but i cant find how to reproduce this behaviour in crypto-js. Its syntax doesn't seem to allow for rounds or salt.</p>
  
  <p>Is it possible or should i just resort to using the basic <a href="http://php.net/manual/en/function.hash.php" rel="nofollow">PHP hash</a> instead of crypt? </p>