// Language: JavaScript
import { createHash } from 'node:crypto';
const digest = createHash('sha256')
.update('hello world')
.digest('hex');
console.log(digest);
import { createHash } from 'node:crypto';
const digest = createHash('sha256')
.update('hello world')
.digest('hex');
console.log(digest);