[Pkg-javascript-commits] [node-hmac-drbg] 02/12: readme: fix API

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:20:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-hmac-drbg.

commit 2aa5a5a5f8059ec5e0b7f312f921fa1366a0a859
Author: Fedor Indutny <fedor at indutny.com>
Date:   Wed Feb 22 16:42:02 2017 -0500

    readme: fix API
---
 README.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/README.md b/README.md
index 5f1f272..7323899 100644
--- a/README.md
+++ b/README.md
@@ -8,8 +8,10 @@ JS-only implementation of [HMAC DRBG][0].
 
 ```js
 const DRBG = require('hmac-drbg');
+const hash = require('hash.js');
 
 const d = new DRBG({
+  hash: hash.sha256,
   entropy: '0123456789abcdef',
   nonce: '0123456789abcdef',
   pers: '0123456789abcdef' /* or `null` */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-hmac-drbg.git



More information about the Pkg-javascript-commits mailing list