-
-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Travis CI builds, update dependencies, and update list of as-yet unimplemented functions #200
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -395,17 +395,16 @@ exports.createHash = function (alg) { | |
} | ||
} | ||
// the least I can do is make error messages for the rest of the node.js/crypto api. | ||
;['createCredentials' | ||
, 'createHmac' | ||
, 'createCypher' | ||
, 'createCypheriv' | ||
, 'createDecipher' | ||
, 'createDecipheriv' | ||
, 'createSign' | ||
, 'createVerify' | ||
, 'createDeffieHellman', | ||
, 'pbkdf2', | ||
, 'randomBytes' ].forEach(function (name) { | ||
;['createCredentials', | ||
'getCurves', | ||
'randomFill', | ||
'randomFillSync', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
'scrypt', | ||
'scryptSync', | ||
'generateKeyPair', | ||
'generateKeyPairSync', | ||
'Certificate', | ||
'timingSafeEqual'].forEach(function (name) { | ||
exports[name] = function () { | ||
error('sorry,', name, 'is not implemented yet') | ||
} | ||
|
@@ -429,6 +428,7 @@ exports.str_sha1 = str_sha1; | |
exports.hex_hmac_sha1 = hex_hmac_sha1; | ||
exports.b64_hmac_sha1 = b64_hmac_sha1; | ||
exports.str_hmac_sha1 = str_hmac_sha1; | ||
exports.sha1_vm_test = sha1_vm_test; | ||
|
||
/* | ||
* Configurable variables. You may need to tweak these to be compatible with | ||
|
@@ -631,7 +631,6 @@ require.define("/test.js", function (require, module, exports, __dirname, __file | |
var crypto = require('crypto') | ||
var abc = crypto.createHash('sha1').update('abc').digest('hex') | ||
console.log(abc) | ||
//require('hello').inlineCall().call2() | ||
|
||
}); | ||
require("/test.js"); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
var crypto = require('crypto') | ||
var abc = crypto.createHash('sha1').update('abc').digest('hex') | ||
console.log(abc) | ||
// require('hello').inlineCall().call2() |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
randomFill
andrandomFillSync
are implemented, we can remove this from the README