how to generate md5 hash in angular 2 typescript?
<p>I am using APi The access to this api is done with hash key that we need to send to the api but we don't really know how to implement.</p>

<p>I found  <a href="https://www.npmjs.com/package/crypto-js" rel="noreferrer">https://www.npmjs.com/package/crypto-js</a>      but  i dont know how to integrate angular 2 </p>

<p>also  i found <a href="https://www.npmjs.com/package/angular-md5" rel="noreferrer">https://www.npmjs.com/package/angular-md5</a>   but i dont know how to import using angular 2 typscript </p>