Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUvca0640db1059
diff --git a/v3/@claude-flow/guidance/src/authority.ts b/v3/@claude-flow/guidance/src/authority.ts
index a52301ed44..c685fcddbf 100644
--- a/v3/@claude-flow/guidance/src/authority.ts
+++ b/v3/@claude-flow/guidance/src/authority.ts
@@ -25,18 +25,7 @@
*/
import { createHmac, randomUUID } from 'node:crypto';
-
-/**
- * Constant-time string comparison to prevent timing attacks on HMAC signatures.
- */
-function timingSafeEqual(a: string, b: string): boolean {
- if (a.length !== b.length) return false;
- let mismatch = 0;
- for (let i = 0; i < a.length; i++) {
- mismatch |= a.charCodeAt(i) ^ b.charCodeAt(i);
- }
- return mismatch === 0;
-}
+import { timingSafeEqual } from './crypto-utils.js';
// ============================================================================
// Types