您的位置:首页 > 其它

[Cryptography] Hash Password, Nonce

2015-12-21 16:21 295 查看

(1) Hashed Password

stored hashed password H(p)in the Database, instead of plaintext password

use random number,called SALT (salt), together with P to add in the hash function.




(2) Nonce

Problems:

1. Man in the middle(Modify)
2. Reply(retransmit)






Countermeasures:

1. Nonce to prevent Replay
random number, just used once
ensure the messages are fresh

2. Timestamp to prevent Man in the middle
require synchronized clocks
means limited time to do something


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  hash nonce