zoukankan      html  css  js  c++  java
  • Internet Secure

    key

    • Secret key(密钥):ues the same key to Encryption and decryption(symmetric-key)对称加密,需要绝对安全的空间来传递key
    • Pulic kay(公钥):ues different key to Encryption and decryption (asymmetric-key)非对称加密

    Caeser Cipher(凯撒密码)

    • core:replace(替换思想)


    Cryptographic Hash(又是可爱的哈希)

    • Converting any length of input into a fixed length string or digest of information(任意长度输入转化为固定长度二进制串)
    • 哈希碰撞:Different inputs give the same result
    • a good hash function:any tiny change --> a big change with digest

    Hash for Password(使用哈希的密码系统)

    • Do not store the password you entered directly(非直接存密码)
    • store digest(存储哈希值)
    • 几乎是不可逆
    • share secret(共享密码)
      在信息后面加上特定字符串,再哈希

    Public Key Encryption Confidentiality

    • base on two prime(从两个素数开始)
    • Public key:Open to the outside world for encryption(公钥)
    • Private key: Used for decryption, private ownership(私钥)
    • not perfect but it is hard to break
    • Public keys can be distributed arbitrarily without protection(公钥分发简单)
    • private keys are protected in computers or servers.

    SSL(Secure Sockets Layer)安全套接字层

    • Security for TCP
    • Located between Application Layer and Transport Layer
    • Because of the hierarchical structure, the underlying structure only needs to be responsible for the transmission of ciphertext (it is not known whether the transmission is ciphertext or plaintext).

    TLS(Transpot Layer Security)

    Digital Certificates(数字证书)

    • Make sure the person you are talking to(确保谈话对象)
    • Amazon发公钥给VerSign,VerSign计算验证后,确实是Amazon,就返回一个带签名的公钥





    Summary

  • 相关阅读:
    TCP Socket服务器编程[转文]
    http协议学习和总结系列[转 ]
    linux C函数大全
    HTTP 协议详解
    Pthread 多线程总结
    linux 中解析命令行参数 (getopt_long用法)
    微软企业库4.1学习笔记(十八)缓存模块6 缓存的设计目的
    微软企业库4.1学习笔记(十七)缓存模块5 缓存的典型用法
    进程和线程的区别
    C#二叉树遍历算法实现浅析
  • 原文地址:https://www.cnblogs.com/zlonglongago/p/10680848.html
Copyright © 2011-2022 走看看