Swiftpack.co - Package - vapor/open-crypto

Github

link
Stars: 76
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

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)

3.3.0 - Sep 25, 2018

New:

  • OpenSSL 1.1 support. (#74, #75)
  • AES GCM now properly supports tags. (#68, #71)
  • TOTP and HOTP support have been added. (#72)
import Crypto

let code = TOTP.SHA1.generate(secret: "hi")
print(code) "123456"

Fixed:

  • This package's private C libraries have been renamed and updated. (#75)