We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da2551 commit 94dd023Copy full SHA for 94dd023
matching-service/src/lib/hasher.ts
@@ -3,7 +3,7 @@ import crypto from 'crypto';
3
export const generateMatchId = (userId: string, matchId: string): string => {
4
// Concatenate the IDs
5
const combinedIds = `${userId}-${matchId}`;
6
-
+
7
// Hash the concatenated string using SHA-256
8
return crypto.createHash('sha256').update(combinedIds).digest('hex');
9
- };
+};
peerprep-fe/src/lib/socket.ts
0 commit comments