FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

cryptoshrooms/node-base58 · GitHub

Repository navigation

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

base58

An implementation of Base58 and Base58Check encodings for nodejs. Note, the implementation of Base58Check differs slightly from that described on Wikipedia in that it does not prepend a version byte onto the data being encoded.

NOTE: Early versions of this package used native C code instead of bignum, but it was found to be unstable in a production environment (likely due to bugs in the C code). Recent versions used bignum for stability, but were slower. This version of the package uses a JavaScript algorithm adapted from digit-array with additional optimizations.

Installation

npm install @mtl1979/base58-native

Usage

var base58 = require('@mtl1979/base58-native');
base58.encode(base58.decode('mqqa8xSMVDyf9QxihGnPtap6Mh6qemUkcu'));

var base58Check = require('@mtl1979/base58-native').base58Check;
base58Check.encode(base58Check.decode('mqqa8xSMVDyf9QxihGnPtap6Mh6qemUkcu'));

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL