pad base64 encoding

This commit is contained in:
Erika Rowland 2024-03-31 00:07:55 -07:00
parent 9557ae5538
commit 1b5d96cdd5
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}