摘要: Security and Cryptography in Python - Public Key Encryption Systems - RSA(1) RSA - 1977 Key generation p,q ← primes n = p * q ← modulus e ← exponent d 阅读全文
posted @ 2021-02-17 21:03 晨风_Eric 阅读(65) 评论(0) 推荐(0) 编辑
摘要: Security and Cryptography in Python - Key Exchange(4) Implementing Differ-Hellman Key Exchange import math import random def is_prime(p): for i in ran 阅读全文
posted @ 2021-02-17 18:35 晨风_Eric 阅读(48) 评论(0) 推荐(0) 编辑