Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cryptography #197

Open
wsxk opened this issue Jul 11, 2024 · 0 comments
Open

Cryptography #197

wsxk opened this issue Jul 11, 2024 · 0 comments

Comments

@wsxk
Copy link
Owner

wsxk commented Jul 11, 2024

https://wsxk.github.io/crypto_basic/

前言

  1. 密码学三要素
  2. One-Time Pad (OTP)

前言
常见的密码算法编写可看Re 常见加解密算法识别与加解密脚本
(又是一个自导自演~

  1. 密码学三要素
    这是一个~

  2. Confidentiality(机密性)
    就是不希望A和B的通信内容被第三方C看到~

  3. integrity(完整性)
    就说不希望A和B的通信内容被第三方篡改~

  4. Authenticity(真实性)
    就是希望A真的是和B在通话,而不是装成B的C

简单的加解密逻辑:

加密: 明文在key和加密函数的作用下得到密文。

解密: 密文在key和解密函数的作用下得到明文

  1. One-Time Pad (OTP)
    OTP,别称一次性密码本,是很经典的古典加密方法之一。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant