官术网_书友最值得收藏!

How Web Applications Work

All web applications, irrespective of whether they are built using ASP.NET MVC (MVC stands for Model-View-Controller), which is actually inspired by the success of Ruby on Rails, or any other new shiny technology, work on the HTTP protocol. Some applications use HTTPS (a secure version of HTTP), where data is encrypted before passing through the wire. But HTTPS still uses HTTP.

Symmetric encryption is the conventional method to ensure the integrity of the data transferred. It makes use of only one secret key, called a symmetric key, for both encryption and decryption. Both the sender and receiver possess this key. The sender uses it for encryption, while the receiver uses it for decryption. Caesar's Cipher is a good example of symmetric encryption.

Asymmetric encryption makes use of two cryptographic keys. These keys are known as public and private keys. The information to be sent is encrypted by the public key. The private key is used to decrypt the information received. The same algorithm is behind both of these processes. The RSA algorithm is a popular algorithm used in asymmetric encryption.

Encryption ensures the integrity of the data transferred by making use of cryptographic keys. These keys are known only by the sender and the receiver of the data being transferred. This means that the data won't be tampered by anyone else. This prevents man-in-the-middle attacks.

 

主站蜘蛛池模板: 枣庄市| 乳源| 开江县| 新安县| 汝城县| 浦县| 松江区| 华安县| 峨山| 山阴县| 朔州市| 南雄市| 合阳县| 遵义县| 盈江县| 措勤县| 得荣县| 察隅县| 涞水县| 三河市| 正宁县| 海原县| 潞西市| 灯塔市| 文山县| 嫩江县| 华宁县| 襄垣县| 民权县| 台南市| 吉安市| 彝良县| 武义县| 姜堰市| 班戈县| 开阳县| 台东市| 彩票| 泰安市| 循化| 榕江县|