@equibit/wallet-crypto

Equibit crypto utils


Keywords
equibit, bitcoin, crypto
License
ISC
Install
npm install @equibit/wallet-crypto@0.6.1

Documentation

Build Status

Equibit Wallet Crypto Utils

This is a collection of crypto libraries for Equibit Wallet app.

Release branch contains dist folders with a minified (for now) bundle built with browserify:

  • dist/wallet-crypto.min.js

Install:

npm install @equibit/wallet-crypto

API

Main export contains the following properties:

  • bip39 - bip39 library,
  • bitcoin - bitcoinjs-lib library,
  • pbkdf2 - pbkdf2.pbkdf2 method,
  • pbkdf2Sync - pbkdf2.pbkdf2Sync method,
  • createHmac - create-hmac library,
  • createHash - create-hash library,
  • createCipher - createCipher method of crypto-browserify,
  • createDecipher - createDecipher method of crypto-browserify,
  • eqbTxBuilder - tx-builder-equibit Equibit library,
  • walletMessage - wallet-message Equibit library

Test and build:

npm test

Build:

npm run build

Release Notes:

  • 0.31.0 Updated to use v0.17.0 of tx-builder-equibit
  • 0.17.0 Experiment package with a simplified hashlock script.
  • 0.13.0 Added safe-buffer and re-export Buffer.
  • 0.7.0 Added wallet-message library.
  • 0.6.4 Initial version that includes bip39, bitcoinjs-lib, tx-builder-equibit and some others.