Commit b1b493f9 by BellCodeEditor

auto save

parent 0f9f4071
Showing with 19 additions and 10 deletions
message = "诺依,周末一起去看动漫展吧!"
for i in message:
\ No newline at end of file
message = "诺依,周末一起去看动漫展吧!"
for i in message:
print(i)
\ No newline at end of file
import random def max_a(a,b):
if a < b:
# 私钥 a,b = b,a
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" return a if b ==0 else max_a(b, a%b)
# 要加密语句 a = int(input("a = "))
message = "诺依,周末一起去看动漫展吧!" b = int(input("b = "))
print("a 和 b的最大公约数是:",max_a(a,b))
# 请使用私钥key,对message进行加密
import random
key="信息加密好酷呀!"
str=random.choice(key)
print(str)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment