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(替换思想)
    Internet Secure 随笔 第1张
    Internet Secure 随笔 第2张
    Internet Secure 随笔 第3张

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
    Internet Secure 随笔 第4张

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

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

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).
    Internet Secure 随笔 第7张

TLS(Transpot Layer Security)

Internet Secure 随笔 第8张

Digital Certificates(数字证书)

  • Make sure the person you are talking to(确保谈话对象)
  • Amazon发公钥给VerSign,VerSign计算验证后,确实是Amazon,就返回一个带签名的公钥
    Internet Secure 随笔 第9张
    Internet Secure 随笔 第10张
    Internet Secure 随笔 第11张
    Internet Secure 随笔 第12张
    Internet Secure 随笔 第13张
    Internet Secure 随笔 第14张

Summary

Internet Secure 随笔 第15张

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。
扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄