Nette\Security\Passwords truncates password to 4096 bytes. But crypt truncates passwords further to 72 bytes. Is there a reason to not truncate the password in Nette\Security\Passwords directly to 72 bytes or not truncate it all and leave it be for crypt to handle this?
Nette\Security\Passwords
truncates password to 4096 bytes. Butcrypt
truncates passwords further to 72 bytes. Is there a reason to not truncate the password inNette\Security\Passwords
directly to 72 bytes or not truncate it all and leave it be forcrypt
to handle this?Partially relevant question on SO