Skip to content

Commit

Permalink
aliases for sign and verify
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinmetcalf committed Jan 5, 2015
1 parent 428976a commit fcc366f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ var inherits = require('inherits');
var algos = require('./algos');
'use strict';
module.exports = function (exports, crypto) {
exports.createSign = createSign;
exports.createSign = exports.Sign = createSign;
function createSign(algorithm) {

return new Sign(algorithm, crypto);
}
exports.createVerify = createVerify;
exports.createVerify = exports.Verify = createVerify;
function createVerify(algorithm) {
return new Verify(algorithm, crypto);
}
Expand Down

0 comments on commit fcc366f

Please # to comment.