From 36aeebb6298c863119f14d5af4cfd12cb7e9a32d Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Wed, 15 Jun 2022 13:39:29 +0200 Subject: [PATCH] add link to generateUsername util --- packages/status-js/src/utils/generate-username.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/status-js/src/utils/generate-username.ts b/packages/status-js/src/utils/generate-username.ts index f5228816..e349f756 100644 --- a/packages/status-js/src/utils/generate-username.ts +++ b/packages/status-js/src/utils/generate-username.ts @@ -1,3 +1,7 @@ +/** + * https://github.com/status-im/status-go/blob/develop/protocol/identity/alias/generate.go + */ + const poly = BigInt(0xb8) function lfsr(seed: bigint) {