@a11ywatch/core
Version:
a11ywatch central API
11 lines • 357 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.hashString = void 0;
const crypto_1 = require("crypto");
const hashString = (target) => {
const hash = (0, crypto_1.createHash)("sha256");
hash.update(target + "");
return hash.digest("hex");
};
exports.hashString = hashString;
//# sourceMappingURL=hash.js.map
;