[Pkg-javascript-commits] [node-sha.js] 195/237: example is sha256 not sha1
Bastien Roucariès
rouca at moszumanska.debian.org
Fri May 5 09:03:59 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 8eb102b6c3faa4a87c134644d019e8c8806a5801
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date: Wed May 20 07:55:41 2015 +0200
example is sha256 not sha1
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index ec52112..9ed8c7b 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ var createHash = require('sha.js')
var sha256 = createHash('sha256')
var sha512 = createHash('sha512')
-var h = sha1.update('abc', 'utf8').digest('hex')
+var h = sha256.update('abc', 'utf8').digest('hex')
console.log(h) //ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
//LEGACY, do not use in new systems:
--
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