Account.prototype.sign

Signs a hash value.

Parameters

Name Type Description
password string Password
hash string Hash to sign
callback function Callback

Callback

Name Type Description
err error Error
sign string Signature

Usage

var sign;
account.sign(
    '__PASSWORD__',
    hash,
    function(err, _sign) {
        if (err) console.error(err);
        else sign = _sign;
    }
);

results matching ""

    No results matching ""