blox-secure

1.0.1 • Public • Published

<blox-secure>

Build Status

AES encryption

Install the Polymer-CLI

First, make sure you have the Polymer CLI and npm (packaged with Node.js) installed. Run npm install to install your element's dependencies, then run polymer serve to serve your element locally.

Install blox-secure

$ npm install blox-secure

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Import

$ import 'blox-secure';

Basic Use

<blox-secure
    password="secret!!"
    data="{{data}}"
    result="{{result}}">
</blox-secure>

Javascript Use

<blox-secure id="bloxSecure"></blox-secure>
<script>
    this.$.bloxSecure.secure('secret!!', data)
    .then((res) => {
        // Do Something
    })
    .catch((err) => {
        // Do Something
    })
</script>

Readme

Keywords

none

Package Sidebar

Install

npm i blox-secure

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

35.8 kB

Total Files

11

Last publish

Collaborators

  • eosblox