0.0.6~
This commit is contained in:
1 parent
d539fb55f4
commit
1c1766f60a
2 files changed
+16
-2
No files matched your search
@@ -36,7 +36,7 @@
|
||||
|
||||
var exports = {};
|
||||
|
||||
exports.md6hash = function () {
|
||||
exports._hash = function () {
|
||||
function to_word(input) {
|
||||
var i, length = input.length, output = [];
|
||||
|
||||
@@ -353,6 +353,20 @@
|
||||
};
|
||||
};
|
||||
|
||||
exports.getHashOfText = function() {
|
||||
var out = _hash.apply(this, arguments);
|
||||
return out.hex;
|
||||
};
|
||||
|
||||
exports.getRawHashOfText = function() {
|
||||
var out = _hash.apply(this, arguments);
|
||||
return out.raw;
|
||||
};
|
||||
|
||||
exports.getHashAsObject = function() {
|
||||
return _hash.apply(this, arguments);
|
||||
};
|
||||
|
||||
return exports;
|
||||
|
||||
}));
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-md6",
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"description": "MD6 Implementation in Node",
|
||||
"main": "md6.js",
|
||||
"files": [
|
||||
|
||||
Reference in new issue
Block a user