📜  如何在 nodejs (HMAC) 中使用加密模块 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:05.478000             🧑  作者: Mango

代码示例1
require("crypto").createHmac("sha256", "password")
  .update("If you love node so much why don't you marry it?")
  .digest("hex");