SHA-384 Hash Generator

// using Node.js crypto
const crypto = require("crypto");

const message = "Hello World";

const hash = crypto.createHash("sha384")

console.log(`Computed hash of ${message}: ${hash}`);

The SHA-384 hash

SHA-384 is a hashing function part of the SHA-2 family. It produces a 384 bit hash from an arbitrary inptu of bytes. Whitle not as popular as SHA-256 or SHA-512, it is still useful in the event that a longer, more secure hash is required, while being shorter than 512 bits.