open crypto

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

134
34
Swift

⚠️ 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)