Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.
/ open-crypto Public archive

πŸ”‘ Hashing (BCrypt, SHA2, HMAC), encryption (AES), public-key (RSA), and random data generation.

License

Notifications You must be signed in to change notification settings

vapor/open-crypto

Repository files navigation

⚠️ This library has been deprecated in favor of https://github.com/apple/swift-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)