mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-09-20 07:59:03 -04:00
46b5cdfb47
The former length of 64 bytes (512-bit) is transformed into base64url (a 6-bit code) ~86 characters long. This is too long for bcrypt as it ignores any characters beyond the 72th. This fix therefore reduces the amount of generated bytes to 54 (as 72*6/8 = 54) characters. This ensures that removing one character from the token the hash won't be the same anymore. Signed-off-by: Philip Molares <philip.molares@udo.edu> |
||
---|---|---|
.. | ||
api | ||
auth | ||
authors | ||
config | ||
errors | ||
groups | ||
history | ||
logger | ||
media | ||
monitoring | ||
notes | ||
permissions | ||
revisions | ||
users | ||
utils | ||
app.module.ts | ||
main.ts |