Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

161 B
Raw Blame
import { createHash } from 'node:crypto';

export function contentHash(content: string): string {
  return createHash('sha256').update(content).digest('hex');
}