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

8 lines
164 B
JavaScript

"use strict";
var secretutils = require("secret-utils");
module.exports.sha1sum = function (str) {
return Promise.resolve(secretutils.hashsum("sha1", str));
};