V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
qwertyegg
V2EX  ›  程序员

在非对称加密出现前交换密钥的办法 Three-pass protocol

  •  
  •   qwertyegg · Sep 14, 2020 · 1594 views
    This topic created in 2050 days ago, the information mentioned may be changed or developed.
    在非对称加密出现前,Alice 和 Bob 交换密钥的一个办法是通过这个 Three-pass protocol

    Step 1. Alice 把密钥放在箱子里面,用自己的锁锁上,箱子送到 Bob 那里
    Step 2. Bob 在这个箱子上加一个自己的锁,再把箱子送回 Alice 这里
    Step 3. Alice 把箱子上自己的锁打开,然后再把箱子送给 Bob
    Step 4. Bob 打开箱子上自己的锁,取出密钥

    这样就实现了密钥的交换
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2972 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 00:29 · PVG 08:29 · LAX 17:29 · JFK 20:29
    ♥ Do have faith in what you're doing.