import { createHash } from 'node:crypto';

export function createRuntimeDatasetId(
  playName: string,
  tableNamespace: string,
): string {
  return createHash('sha1')
    .update(`${playName}:${tableNamespace}`)
    .digest('hex');
}
