crypto-browserify
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -61,4 +61,9 @@ var Buffer = require('buffer').Buffer | ||
function each(a, f) { | ||
for(var i in a) | ||
f(a[i], i) | ||
} | ||
// the least I can do is make error messages for the rest of the node.js/crypto api. | ||
;['createCredentials' | ||
each(['createCredentials' | ||
, 'createHmac' | ||
@@ -72,3 +77,3 @@ , 'createCypher' | ||
, 'createDeffieHellman' | ||
, 'pbkdf2'].forEach(function (name) { | ||
, 'pbkdf2'], function (name) { | ||
exports[name] = function () { | ||
@@ -75,0 +80,0 @@ error('sorry,', name, 'is not implemented yet') |
@@ -5,3 +5,3 @@ { | ||
"description": "partial implementation of crypto for the browser", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"homepage": "https://github.com/dominictarr/crypto-browserify", | ||
@@ -8,0 +8,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
40897
1224