https://github.com/simplito/privmx-endpoint-swift-extra
Extension wrapper for PrivMX Endpoint Swift.
https://github.com/simplito/privmx-endpoint-swift-extra
communication cryptography data-transfer decryption e2ee end-to-end-encryption files messages messaging privacy privacy-protection private privmx secure simplito storage swift thread zero-knowledge
Last synced: 20 days ago
JSON representation
Extension wrapper for PrivMX Endpoint Swift.
- Host: GitHub
- URL: https://github.com/simplito/privmx-endpoint-swift-extra
- Owner: simplito
- License: mit
- Created: 2024-07-29T14:28:51.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-04-15T12:18:13.000Z (2 months ago)
- Last Synced: 2026-04-15T14:17:30.138Z (2 months ago)
- Topics: communication, cryptography, data-transfer, decryption, e2ee, end-to-end-encryption, files, messages, messaging, privacy, privacy-protection, private, privmx, secure, simplito, storage, swift, thread, zero-knowledge
- Language: Swift
- Homepage: https://privmx.dev
- Size: 391 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# PrivMX Endpoint Swift Extra
This repository provides a Swift wrapper for the native C++ library used by PrivMX to handle end-to-end (e2e) encryption. PrivMX is a privacy-focused platform designed to offer secure collaboration solutions by integrating robust encryption across various data types and communication methods. This project enables seamless integration of PrivMX’s encryption functionalities in Swift applications, preserving the security and performance of the original C++ library while making its capabilities accessible in the Swift ecosystem.
## About PrivMX
[PrivMX](https://privmx.dev) allows developers to build end-to-end encrypted apps used for communication. The Platform works according to privacy-by-design mindset, so all of our solutions are based on Zero-Knowledge architecture. This project extends PrivMX’s commitment to security by making its encryption features accessible to developers using Swift.
## Key Features
- End-to-End Encryption: Ensures that data is encrypted at the source and can only be decrypted by the intended recipient.
- Native C++ Library Integration: Leverages the performance and security of C++ while making it accessible in Swift applications.
- Cross-Platform Compatibility: Designed to support PrivMX on multiple operating systems and environments.
- Simple API: Easy-to-use interface for Swift developers without compromising security.
## Modules
PrivMX Endpoint Swift Extra is an extension of [`Privmx Endpoint Swift`](https://github.com/simplito/privmx-endpoint-swift). It's extended with additional logic that makes using our libraries simpler and less error-prone.
This package implements:
1. Enums and static fields to reduce errors while using the methods.
2. Protocols and Extensions for translating C++ values to Swift Types.
3. [`PrivmxEndpoint`](https://docs.privmx.dev/docs/latest/reference/privmx-endpoint-swift-extra/core/privmx-endpoint) for managing a single connection and operations that use it.
4. [`PrivmxEndpointContainer`](https://docs.privmx.dev/docs/latest/reference/privmx-endpoint-swift-extra/core/privmx-endpoint-container) for managing global sessions.
5. Classes to simplify reading/writing to files using byte arrays and Swift [`FileHandle`](https://developer.apple.com/documentation/foundation/filehandle).
## Dependency setup
To use this package, add it as a dependency in your Xcode project or in your `Package.swift` file.
### Xcode Integration
In Xcode, navigate to your Project Navigator, right-click, and select **Add Package Dependencies...**. Then, paste the following URL into the **Search or Enter Package URL** field:
```
https://github.com/simplito/privmx-endpoint-swift-extra
```
### Swift Package Manager
To add it directly to a Swift package, include this line in the `dependencies` array in your `Package.swift` file:
```swift
.package(
url: "https://github.com/simplito/privmx-endpoint-swift-extra",
.upToNextMinor(from: .init(2, 2, 0))
),
```
## Usage
For more details on PrivMX Platform, including setup guides and API reference, visit [PrivMX documentation](https://docs.privmx.dev).
## License information
**PrivMX Endpoint Swift Extra**
Copyright © 2024 Simplito sp. z o.o.
This project is part of the PrivMX Platform (https://privmx.dev).
This software is Licensed under the MIT License.
PrivMX Endpoint and PrivMX Bridge are licensed under the [PrivMX Free License](https://github.com/simplito/privmx-endpoint).
See the License for the specific language governing permissions and limitations.