This repository makes the C-library of Curve25519 functions available in Swift through the Swift Package Manager and Cocoapods.
The library can be included through either SwiftPM or CocoaPods.
Specify the dependency in your Package.swift file:
.package(url: "https://github.com/christophhagen/CCurve25519.git", from: "1.0.0")Specify in your Podfile:
pod 'CCurve25519', :git => 'https://github.com/christophhagen/CCurve25519.git'In your project, simply:
import CCurve25519The C files are taken without alteration from libsignal-protocol-c.
MIT.