When using pbkdf2 or bcrypt length 40 is not enough

I used this entity to apply bcrypt encoded password but I was not able to login. It took me 2 days to debug that the password is being truncated because column length is less than the password which is being generated by bcrypt or pbkdf2.