Table of Contents

Custom Code - How to insert an md5 module into a project?

  1. Run the command below on your nodJS

    npm install --save ts-md5
  2. Then importing it directly in the component

  3. Now you can write your code in the Constructor field or create a new function in Other Functions field

    const md5 = new Md5();
    let hash = md5.appendStr('hello').end();
    console.log(hash);

Reference:

  1. https://github.com/cotag/ts-md5
  2. https://stackoverflow.com/questions/49470998/generate-md5-hash-in-angular-5

Last edit: 2021-10-28 12:08:02

Comment

For any question about products, please contact email support is: info@ihsana.com and info@ihsana.net

Search

img