pad base64 encoding
This commit is contained in:
parent
9557ae5538
commit
1b5d96cdd5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue