bcrypt.hash(): 负值盐轮数会导致无限卡死

作者: AadityaX86创建于 2026年2月16日更新于 2026年3月5日

当盐轮数为负数时, bcrypt.hash() 会卡死。难道不更好先检查一下吗?

内容来源: kelektiv/node.bcrypt.js