Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

Adjust bcrypt rounds for apikeys

Marc Klingenfd8fab227d6a
diff --git a/src/features/publicApi/lib/apiKeys.ts b/src/features/publicApi/lib/apiKeys.ts
index 5238ac8c7e..5dcdc4a6dd 100644
--- a/src/features/publicApi/lib/apiKeys.ts
+++ b/src/features/publicApi/lib/apiKeys.ts
@@ -14,7 +14,7 @@ export function getDisplaySecretKey(secretKey: string) {
}
export async function hashSecretKey(key: string) {
- const hashedKey = await hash(key, 12);
+ const hashedKey = await hash(key, 11);
return hashedKey;
}