From 1b5d96cdd510b42b474904f79b534c5b09c91698 Mon Sep 17 00:00:00 2001 From: Erika Rowland Date: Sun, 31 Mar 2024 00:07:55 -0700 Subject: [PATCH] pad base64 encoding --- src/constellation.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constellation.gleam b/src/constellation.gleam index 6dbe3fb..c0b30f6 100644 --- a/src/constellation.gleam +++ b/src/constellation.gleam @@ -56,7 +56,7 @@ fn hash(string) { {string <> "salty salt"} |> bit_array.from_string() |> glesha.hash(glesha.Sha256) - |> bit_array.base64_url_encode(False) + |> bit_array.base64_url_encode(True) |> string.slice(0, 16) }