[Pkg-javascript-commits] [node-sha.js] 66/237: tidyup
Bastien Roucariès
rouca at moszumanska.debian.org
Fri May 5 09:03:02 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 12e401b47e7f62ac47edea70efa2db4a044df015
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date: Mon Dec 30 23:15:22 2013 +0700
tidyup
---
sha1.js | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/sha1.js b/sha1.js
index f481b3e..aecf81c 100644
--- a/sha1.js
+++ b/sha1.js
@@ -6,11 +6,6 @@
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for details.
*/
-var hexpp = require('./hexpp').defaults({bigendian: false})
-
-var u = require('./util')
-var reverseByteOrder = u.reverseByteOrder
-var zeroFill = u.zeroFill
module.exports = Sha1
var inherits = require('util').inherits
@@ -18,14 +13,13 @@ var Hash = require('./hash')
inherits(Sha1, Hash)
-var q = false
var A = 0
var B = 4
var C = 8
var D = 12
var E = 16
-var BE = false
+var BE = false
var LE = true
function Sha1 () {
@@ -67,10 +61,6 @@ Sha1.prototype._update = function (array) {
e = _e = this._e
var w = this._w
- var x = this._block
-
-// console.log('--- Update ---')
-// console.log(hexpp(x))
for(var j = 0; j < 80; j++) {
--
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