webmoney
v0.1.0-alfa
Published
Client for WebMoney
Downloads
1
Readme
WebMoney
Easy and lightweight client for WebMoney payment system.
Features
- Supports both classic and light authorization
Installation
$ npm install webmoney
API
Class Key
This class provides ability to decode and encode keys for classic authorization.
::fromFile(fileName, wmid, password)
fileName
Stringwmid
Stringpassword
String
Description.
::fromBuffer(header, body, wmid, password)
header
Bufferbody
Bufferwmid
Stringpassword
String
Description.
::constructor(exponent, modulus)
exponent
Buffermodulus
Buffer
Description.
.exponent
Exponent component of the key.
.modulus
Modulus component of the key.
Class Signer
Description.
::constructor(key)
key
Key
Description.
.digest(message)
Description.