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?
Partially relevant question on SO
Nette\Security\Passwordstruncates password to 4096 bytes. Butcrypttruncates passwords further to 72 bytes. Is there a reason to not truncate the password inNette\Security\Passwordsdirectly to 72 bytes or not truncate it all and leave it be forcryptto handle this?Partially relevant question on SO