mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 23:54:42 -04:00
![]() 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 |