import { Keccak256 } from '@tevm/voltaire/Keccak256';
import { Hex } from '@tevm/voltaire/Hex';
// Hash a string using Keccak256
const hash = Keccak256.hashString('Hello, Tevm!');
// The hash is returned as a Uint8Array - convert to hex
const hexHash = Hex(hash);
console.log('Hash:', hexHash);