[Pkg-javascript-commits] [node-sha.js] 21/31: Change "new shajs.SHA256()" to lowercase to make it actually work.
Bastien Roucariès
rouca at moszumanska.debian.org
Thu Nov 30 11:23:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-sha.js.
commit 1244bd276c6f2d379183ab6f2fc143598b563edc
Author: Jouni Kontinen <jouni.kontinen at polarspin.com>
Date: Wed Aug 2 14:44:44 2017 +0800
Change "new shajs.SHA256()" to lowercase to make it actually work.
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 3fea05e..1cc3db5 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ var shajs = require('sha.js')
console.log(shajs('sha256').update('42').digest('hex'))
// => 73475cb40a568e8da8a045ced110137e159f890ac4da883b6b17dc651b3a8049
-console.log(new shajs.SHA256().update('42').digest('hex'))
+console.log(new shajs.sha256().update('42').digest('hex'))
// => 73475cb40a568e8da8a045ced110137e159f890ac4da883b6b17dc651b3a8049
var sha256stream = shajs('sha256')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-sha.js.git
More information about the Pkg-javascript-commits
mailing list