Skip to content

PGP, NaCl, and PBKDF2 in node.js and the browser (hashing, random, encryption, decryption, signatures, conversions), used by TogaTech.org

License

Notifications You must be signed in to change notification settings

TogaTech/tEnvoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

489b961 · May 4, 2021
May 2, 2021
May 2, 2021
Mar 30, 2021
Apr 27, 2021
Mar 1, 2021
Feb 12, 2021
May 2, 2021
May 4, 2021
May 2, 2021
May 2, 2021
May 2, 2021
May 2, 2021
May 2, 2021

Repository files navigation

tEnvoy

More details coming soon...

Browser Import

For the browser, only /tenvoy.js or tenvoy.min.js is required and has all dependencies bundled inside the single file.

<script type="text/javascript" src="tenvoy.min.js"></script>
<script>
  const envoy = new tEnvoy();
</script>

Node.js Import

Minify

If you would like to minify the code yourself instead of using the provided tenvoy.min.js (and optional tenvoy.min.js.map), you can use UglifyJS 3 to minifiy the code yourself.

To install UglifyJS 3 as a command line app through NPM, run npm install uglify-js -g.

After UglifyJS 3 has been installed, you can run the following command in your terminal:

uglifyjs tenvoy.js -o tenvoy.min.js -c -m --source-map "filename='tenvoy.min.js.map',url='tenvoy.min.js.map'"