Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "siphash", | ||
"main": "index.js", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"homepage": "https://github.com/jedisct1/siphash-js", | ||
@@ -26,2 +26,2 @@ "authors": [ | ||
] | ||
} | ||
} |
@@ -178,2 +178,2 @@ var SipHashDouble = (function () { | ||
})(); | ||
var module = module || {}, exports = module.exports = SipHashDouble; | ||
module.exports = SipHashDouble; |
@@ -144,7 +144,7 @@ interface IU64 { | ||
const hh = { h: v0.h, l: v0.l }; | ||
const hh = {h: v0.h, l: v0.l}; | ||
_xor(hh, v1); | ||
_xor(hh, v2); | ||
_xor(hh, v3); | ||
_xor(v1, { h: 0, l: 0xdd }); | ||
_xor(v1, {h: 0, l: 0xdd}); | ||
_compress(v0, v1, v2, v3); | ||
@@ -209,3 +209,2 @@ _compress(v0, v1, v2, v3); | ||
var module = module || {}, | ||
exports = module.exports = SipHashDouble; | ||
module.exports = SipHashDouble; |
@@ -167,2 +167,2 @@ var SipHash = (function () { | ||
})(); | ||
var module = module || {}, exports = module.exports = SipHash; | ||
module.exports = SipHash; |
@@ -197,3 +197,2 @@ interface IU64 { | ||
var module = module || {}, | ||
exports = module.exports = SipHash; | ||
module.exports = SipHash; |
@@ -174,2 +174,2 @@ var SipHash13Double = (function () { | ||
})(); | ||
var module = module || {}, exports = module.exports = SipHash13Double; | ||
module.exports = SipHash13Double; |
@@ -141,7 +141,7 @@ interface IU64 { | ||
const hh = { h: v0.h, l: v0.l }; | ||
const hh = {h: v0.h, l: v0.l}; | ||
_xor(hh, v1); | ||
_xor(hh, v2); | ||
_xor(hh, v3); | ||
_xor(v1, { h: 0, l: 0xdd }); | ||
_xor(v1, {h: 0, l: 0xdd}); | ||
_compress(v0, v1, v2, v3); | ||
@@ -205,3 +205,2 @@ _compress(v0, v1, v2, v3); | ||
var module = module || {}, | ||
exports = module.exports = SipHash13Double; | ||
module.exports = SipHash13Double; |
@@ -164,2 +164,2 @@ var SipHash13 = (function () { | ||
})(); | ||
var module = module || {}, exports = module.exports = SipHash13; | ||
module.exports = SipHash13; |
@@ -194,3 +194,2 @@ interface IU64 { | ||
var module = module || {}, | ||
exports = module.exports = SipHash13; | ||
module.exports = SipHash13; |
@@ -13,4 +13,8 @@ { | ||
"max-classes-per-file": false, | ||
"indent": [true, 4], | ||
"whitespace": [true, | ||
"indent": [ | ||
true, | ||
4 | ||
], | ||
"whitespace": [ | ||
true, | ||
"check-branch", | ||
@@ -17,0 +21,0 @@ "check-operator", |
@@ -8,3 +8,7 @@ { | ||
"homepage": "https://github.com/jedisct1/siphash-js", | ||
"keywords": ["prf", "hash", "crypto"], | ||
"keywords": [ | ||
"prf", | ||
"hash", | ||
"crypto" | ||
], | ||
"license": "BSD-2-Clause", | ||
@@ -20,3 +24,3 @@ "main": "index.js", | ||
}, | ||
"version": "1.1.0" | ||
"version": "1.2.0" | ||
} |
@@ -5,3 +5,3 @@ siphash.js | ||
A pure Javascript implementation of | ||
[SipHash-2-4](http://131002.net/siphash/siphash.pdf) | ||
[SipHash](https://www.aumasson.jp/siphash/siphash.pdf) | ||
@@ -25,6 +25,3 @@ > SipHash is a family of pseudorandom functions optimized for short | ||
[lib/siphash.js.min](https://raw.githubusercontent.com/jedisct1/siphash-js/master/lib/siphash.js.min). | ||
or use Bower: | ||
$ bower install siphash | ||
Usage | ||
@@ -31,0 +28,0 @@ ----- |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72702
20
2029
84