【发布时间】:2014-11-05 05:49:11
【问题描述】:
我正在寻找 CommonCrypto 中基于 ECDH(椭圆曲线 Diffie-Hellman)生成共享密钥的方法。我可以找到像 https://github.com/surespot/surespot-ios/blob/master/surespot/encryption/EncryptionController.mm 这样的专有实现,但这个没有使用 CommonCrypto。计算共享秘密的方法有时称为密钥交换,包括计算共享秘密。有人可以将链接发送到正确的文档或使用 CommonCrypto 根据椭圆曲线 Diffie-Hellman 生成共享密钥的示例吗?
【问题讨论】:
标签: ios cryptography diffie-hellman shared-secret