Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Require NPM Packages

This example demonstrates requiring NPM packages. The CryptoJS module is loaded from sha256.js using require and a function sha256() is exported which converts strings to sha256 hashes.

In order to run this example, first install the NPM packages specified in the package.json file by running th following command: $ npm install

For information on how to install NPM, refre to https://nodejs.org/en/download

main.py is the entry point of this example.