desirae.js/lib/node-adapters/sha1sum.js

8 lines
164 B
JavaScript
Raw Normal View History

2020-11-09 03:01:26 +00:00
"use strict";
2015-01-05 19:23:26 +00:00
var secretutils = require("secret-utils");
2015-01-05 19:23:26 +00:00
module.exports.sha1sum = function (str) {
return Promise.resolve(secretutils.hashsum("sha1", str));
2015-01-05 19:23:26 +00:00
};