Crypto Digest Node.js

async function __async() {
  const { createHash } = await import("crypto");

  const Hash = createHash("sha256");

  Hash.update("I Like Food");
  console.log(Hash.digest("hex"));
  // f38c7280297620b8d66ea54edb7f5681fd09ffd5cc0b5989be9f73bd97ecfc63
}
__async();
Undefined