Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1741bfdae | ||
|
|
f7de366eec | ||
|
|
51e11143e5 |
@@ -5,13 +5,8 @@ exports.crypto_shorthash_BYTES = siphash.BYTES
|
|||||||
exports.crypto_shorthash_KEYBYTES = siphash.KEYBYTES
|
exports.crypto_shorthash_KEYBYTES = siphash.KEYBYTES
|
||||||
exports.crypto_shorthash_WASM_SUPPORTED = siphash.WASM_SUPPORTED
|
exports.crypto_shorthash_WASM_SUPPORTED = siphash.WASM_SUPPORTED
|
||||||
exports.crypto_shorthash_WASM_LOADED = siphash.WASM_LOADED
|
exports.crypto_shorthash_WASM_LOADED = siphash.WASM_LOADED
|
||||||
exports.crypto_shorthash_ready = siphash.ready
|
|
||||||
exports.crypto_shorthash = shorthash
|
exports.crypto_shorthash = shorthash
|
||||||
|
|
||||||
siphash.ready(function () {
|
|
||||||
exports.crypto_shorthash_WASM_LOADED = siphash.WASM_LOADED
|
|
||||||
})
|
|
||||||
|
|
||||||
function shorthash (out, data, key, noAssert) {
|
function shorthash (out, data, key, noAssert) {
|
||||||
siphash(data, key, out, noAssert)
|
siphash(data, key, out, noAssert)
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sodium-javascript",
|
"name": "sodium-javascript",
|
||||||
"version": "0.5.2",
|
"version": "0.5.3",
|
||||||
"description": "WIP - a pure javascript version of sodium-native",
|
"description": "WIP - a pure javascript version of sodium-native",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user