* Generate deterministic hash for controlPath naming. * Uses first 12 chars of SHA-256 for human-readable uniqueness.
(key: string)
| 660 | * Uses first 12 chars of SHA-256 for human-readable uniqueness. |
| 661 | */ |
| 662 | function hashKey(key: string): string { |
| 663 | return crypto.createHash("sha256").update(key).digest("hex").substring(0, 12); |
| 664 | } |
no test coverage detected