What is the output length of PHP crypt()? [closed]
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: what's the output length of PHP crypt() ? md5() output is 128 bits and produce a string with 32 chars, so in data base you put that in a char(32) column, what about the crypt() ? 回答1: Note: It is totally limited to ask the question that way, see http://php.net/crypt Some more details: On success the length of the returned string can vary between 13 and 123. The output length depends on the hash algorithm used. It remains undefined in your question. The output length depends on the salt passed to the function. It remains undefined in your