Skip to content

Commit c7317c7

Browse files
committed
Clean up comment
1 parent e6fe5b0 commit c7317c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/highlight-run/src/client/utils/secure-id.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export const GenerateSecureID = (key?: string): string => {
1111
var secureID = ''
1212

1313
if (key) {
14-
// UseMurmurHash3 for fast, high-quality deterministic hashing (note: not cryptographically secure)
14+
// UseMurmurHash3 for fast, high-quality deterministic hashing
15+
// Note: not crypto secure, but we only need it to create a deterministic ID
1516
const keyHash = MurmurHash3(key).result()
16-
1717
for (let i = 0; i < ID_LENGTH; i++) {
1818
const charHash = (keyHash ^ (i * MIXER_PRIME)) >>> 0
1919
const charIndex = charHash % CHARACTER_SET.length

0 commit comments

Comments
 (0)