Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

bs58grscheck

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bs58grscheck

A straightforward implementation of base58-check encoding

latest
Source
npmnpm
Version
3.0.1
Version published
Maintainers
1
Created
Source

bs58grscheck

A straight forward implementation of base58grscheck extending upon bs58.

Example

var bs58grscheck = require('bs58grscheck')

var decoded = bs58grscheck.decode('5KNSiE1em23byTDTToLyd6aBbqKdSZsvG4iQkMwYuxvc7MeHSke')

console.log(decoded)
// => <Buffer 80 cc b6 a4 01 f2 5a 90 59 8e 85 16 3f fd 1b 29 67 2f a8 59 1b da ef 18 a3 4f f1 e8 eb 8b 75 98 de>

console.log(bs58grscheck.encode(decoded))
// => 5KNSiE1em23byTDTToLyd6aBbqKdSZsvG4iQkMwYuxvc7MeHSke

LICENSE MIT

Keywords

base

FAQs

Package last updated on 25 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts