cheneydog
V2EX  ›  问与答

找一组加密算法。

  •  
  •   cheneydog · Aug 17, 2016 · 1836 views
    This topic created in 3558 days ago, the information mentioned may be changed or developed.
    有没有这样的算法,:
    1. 明文( s ) 通过类 hash 的方法可以得到 ( s1 )
    2. 明文( s ) 通过 key 加密得到密文 ( s2 )
    3. ( s2 ) 可以通过 key1 解密得到 ( s1 ), 但是得不到 明文 s
    4. ( s2 ) 可以通过 key2 解密得到 s

    其中 key1 和 key2 肯定不一样, key 和 key2 可以一样。
    1 replies    2016-08-17 22:53:21 +08:00
    just4test
        1
    just4test  
       Aug 17, 2016
    https://www.v2ex.com/t/183291
    关键字 同态加密
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2765 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 11:02 · PVG 19:02 · LAX 04:02 · JFK 07:02
    ♥ Do have faith in what you're doing.