UNPKG

@trap_stevo/vault-link

Version:

Unlock the ultimate gateway to secure file and directory access. VaultLink transforms your files into guarded, time-sensitive links—sealed, tamper-proof, and effortlessly shareable. Elevate your storage game with unparalleled precision and flexibility, tu

9 lines (8 loc) • 204 B
"use strict"; const crypto = require("crypto"); function generateHash(data, secretKey) { return crypto.createHmac("sha256", secretKey).update(data).digest("hex"); } module.exports = { generateHash };