From cd2bc79b6b2ae840fe942afdea3cce1b3b01c581 Mon Sep 17 00:00:00 2001 From: James Salter Date: Thu, 29 Jul 2021 14:43:19 +0100 Subject: [PATCH] Remove comment --- src/PosthogAnalytics.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/PosthogAnalytics.ts b/src/PosthogAnalytics.ts index 314bd150d6..40d9120b85 100644 --- a/src/PosthogAnalytics.ts +++ b/src/PosthogAnalytics.ts @@ -77,8 +77,6 @@ export interface IWelcomeScreenLoad extends IAnonymousEvent { } const hashHex = async (input: string): Promise => { - // on os x (e.g. if you want to know the sha-256 of your own matrix ID so you can look it up): - // echo -n | shasum -a 256 const buf = new TextEncoder().encode(input); const digestBuf = await window.crypto.subtle.digest("sha-256", buf); return [...new Uint8Array(digestBuf)].map((b: number) => b.toString(16).padStart(2, "0")).join("");