Swiftpack.co - Package - vapor/open-crypto

CryptoKit

API Docs Team Chat MIT License Continuous Integration Swift 5


OpenCrypto is a drop-in replacement for Apple's CryptoKit built on OpenSSL.

This package is meant for use on platforms where CryptoKit is not available, like Linux. Most features from CryptoKit are available, but some are still missing:

  • ✅ MD5
  • ✅ SHA1
  • ✅ SHA2 (256, 384, 512)
  • ✅ HMAC
  • ✅ AES GCM (128, 192, 256)
  • ✅ ChaChaPoly (1305)
  • ❌ Curve25519
  • ❌ NIST P (256, 384, 521)

Github

link
Stars: 78
Help us keep the lights on

Dependencies

Releases

4.0.0-alpha.2 - Aug 1, 2019

CryptoKit is now called OpenCrypto.

OpenCrypto is a drop-in replacement for Apple's CryptoKit built on OpenSSL.

This package is meant for use on platforms where CryptoKit is not available, like Linux. Most features from CryptoKit are available, but some are still missing:

  • ✅ MD5
  • ✅ SHA1
  • ✅ SHA2 (256, 384, 512)
  • ✅ HMAC
  • ✅ AES GCM (128, 192, 256)
  • ✅ ChaChaPoly (1305)
  • ❌ Curve25519
  • ❌ NIST P (256, 384, 521)

4.0.0-alpha.1 - May 28, 2019

More information on Vapor 4 alpha releases:

https://medium.com/@codevapor/vapor-4-alpha-1-releases-begin-94a4bc79dd9a

API Docs:

https://api.vapor.codes/crypto-kit/master/CryptoKit/index.html

3.3.3 - Apr 22, 2019

Fixed:

  • Trying to parse a malformed RSA key no longer causes a fatalError (#87 - #88)

3.3.2 - Feb 12, 2019

Fixed:

  • Removed dependency on private CNIOOpenSSL package. (#81)

3.3.1 - Jan 17, 2019

Fixed:

  • Fixed a crash that could happen when using RSA with incorrect key type. (#79, #78)
  • Fixed an issue causing OpenSSL error messages to always yield "unknown error". (#79)