Skip to content

christophhagen/CCurve25519

Repository files navigation

CCurve25519

This repository makes the C-library of Curve25519 functions available in Swift through the Swift Package Manager and Cocoapods.

Installation

The library can be included through either SwiftPM or CocoaPods.

Swift Package manager

Specify the dependency in your Package.swift file:

.package(url: "https://github.com/christophhagen/CCurve25519.git", from: "1.0.0")

Cocoapods

Specify in your Podfile:

pod 'CCurve25519', :git => 'https://github.com/christophhagen/CCurve25519.git'

Usage

In your project, simply:

import CCurve25519

Attribution

The C files are taken without alteration from libsignal-protocol-c.

License

MIT.