嗨,我想我可能做错了,任何人都可以帮助解释你如何散列/加盐密码。您是从客户端还是从 Web 服务执行此操作?
我有一个具有密码数据成员的数据合同,在我的服务中,我这样做是为了在保存密码之前创建密码的哈希/盐:
So here is the process in which I was thinking.
Rest Service has https for secure connection
User creates account (along with password)
//to stop packet sniffing when user creates account https is used during POST so no one can see the password?
web service then creates a hash of the password to store it
//so if anyone did get access to the service/database they couldnt make much use of the data in terms of breaching accounts
Then some means to authenticate that user there after
它是否正确?