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.
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your application locally.
$ polymer serve
$ 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
$ 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.