Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.35 KB

README.md

File metadata and controls

47 lines (29 loc) · 1.35 KB

<aes-256-cbc-pbkdf2-30k>

Encrypt a mnemonic wth AES-256-CBC encryption using a given password and the PBKDF2 KDF with the given number of rounds.

To encrypt: Set the direction to 'encrypt' and pass in a password, mnemonic. And save the hash and initialisation vector.

To decrypt: Set the direction to 'decrypt' and pass in the password, hash and initialisation vector.

Every time you encrypt a new initialisation vector will be created for you, be sure to save this with the generated hash.

Toggle debug to get a console view of the values.

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your application locally.

Viewing Your Application

$ polymer serve

Building Your Application

$ polymer build

This will create a build/ folder with bundled/ and unbundled/ sub-folders containing a bundled (Vulcanized) and unbundled builds, both run through HTML, CSS, and JS optimizers.

You can serve the built versions by giving polymer serve a folder to serve from:

$ polymer serve build/bundled

Running Tests

$ polymer test

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.