如果你保存散列后的密码,这确实很好,你需要准备另一套方法来验证用户。
If you store hashed passwords, which is a really good idea, you need to prepare an alternate way of authenticating the user.
为了生成运行更加快捷并易于维护的代码,使用散列表存储命令行选项并使用散列验证用户指定的输入,这种方法非常有帮助。
To produce code that runs faster and is easy to maintain, it makes far more sense to use a hash table that stores the command-line options, then USES the hash to validate the user-specified input.
应用推荐