V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
cheneydog
V2EX  ›  问与答

找一组加密算法。

  •  
  •   cheneydog · Aug 17, 2016 · 1804 views
    This topic created in 3540 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   ·   1368 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 23:50 · PVG 07:50 · LAX 16:50 · JFK 19:50
    ♥ Do have faith in what you're doing.