0.1.2 • Published 4 years ago

@wulkanowy/uonet-request-signer-node-hebe v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

UONET+ hebe request signer for Node.js

npm

Instalation

$ npm i @wulkanowy/uonet-request-signer-node-hebe

Usage

const {getSignatureValues} = require("@wulkanowy/uonet-request-signer-node-hebe");

const {digest, canonicalUrl, signature} = getSignatureValues(fingerprint, privateKey, body, fullUrl, new Date().toUTCString());

See example in tests

Tests

$ npm run test