Skip to content

Release 2.2.0

Compare
Choose a tag to compare
@leif-ibsen leif-ibsen released this 01 Feb 10:25
· 35 commits to master since this release

New in SwiftECC release 2.2.0:

  • Diffie-Hellman key agreement - ECDH.
    The implementation is compatible with Apple's CryptoKit framework. That is, two parties,
    one using SwiftECC and the other using CryptoKit can agree on a common encryption key.
    Please, see the README.md.

  • The ECPublicKey constructor ECPublicKey(domain:w:) now throws an exception if w is the point at inifinity.

  • The Base64.encode function has become a 'linesize' parameter that determines the number of characters per line
    in the output. It has a default value of 76, which is the value that was used before.

  • The two functions that create new domains based on explicit parameters
    throw an exception if the proposed generator point is not on the curve.