Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
The most obvious application of a public key encryption system is confidentiality; a message which a sender encrypts using the recipient's public key can be decrypted only by the recipient's paired private key (assuming, of course that no flaw is discovered in the basic algorithm used).
Another type of applications in public-key cryptography are digital signature schemes. Digital signature schemes can be used for sender authentication and non-repudiation. In such a scheme a user who wants to send a message computes a digital signature of this message and then sends this digital signature together with the message to the intended receiver. Digital signature schemes have the property that signatures can only be computed with the knowledge of a private key. To verify that a message has been signed by a user and has not been modified the receiver only needs to know the corresponding public key.
…
To achieve authentication, and confidentiality, the sender could first sign the message using his private key, then encrypt the message and signature using the recipient's public key.
Естественно обмениваться ключами желательно через зашифрованный канал или банально переписать на CD-R/флешку.
shadow == hash(password), то вы просто подменили пароль его хэшем, т.е. злоумышленнику не нужно знать сам пароль, а достаточно знать его хэш для того, чтобы авторизоваться.… предложите сначала безопасную схему аутентификации с использованием пароля без хранения пароля на сервере, а потом уже критикуйте хранение паролей.
HA1 = hash(username + servername + password), таким образом получив базу данных HA1 злоумышленник действительно сможет залогиниться на сервис, но только на него.
¤ cryptopp.dll v.1.0.2.2 [2008-04-23 08:54:26+0300] — Crypto++
¤ SecureIM.dll v.1.0.10.9 [2008-04-23 08:51:36+0300] — SecureIM (2in1)
¤ cryptopp.dll v.1.0.3.0 [2008-09-17 15:27:48+0300] — Crypto++
¤ SecureIM.dll v.1.0.11.0 [2008-09-17 15:27:58+0300] — SecureIM (2in1)
Шифруем сообщения в сети XMPP/Jabber с помощью PGP