https://github.com/averagehelper/itemencryptor
A Swift package to simplify data encryption. (Read-only Git mirror)
https://github.com/averagehelper/itemencryptor
mirror
Last synced: about 1 year ago
JSON representation
A Swift package to simplify data encryption. (Read-only Git mirror)
- Host: GitHub
- URL: https://github.com/averagehelper/itemencryptor
- Owner: AverageHelper
- License: mit
- Created: 2019-05-22T04:51:47.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2025-04-08T06:23:58.000Z (about 1 year ago)
- Last Synced: 2025-04-08T06:29:16.439Z (about 1 year ago)
- Topics: mirror
- Language: Swift
- Homepage: https://git.average.name/AverageHelper/ItemEncryptor
- Size: 138 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ItemEncryptor
A Swift package to simplify data encryption.
A Swift API for encrypting arbitrary data and data types.
I built an `Encoder` implementation based upon Swift's `Encoder` types. (Think `JSONEncoder` and `JSONSerialization`.) Any `Encodable` type can be turned into `Data`, and encrypted! Quickly and easily derive encryption keys (`EncryptionKey` objects) from user passwords, encrypt or decrypt arbitrary `Codable` types (with `EncryptionEncoder` and `EncryptionDecoder`), or do the same with arbitrary data or streams (using `EncryptionSerialization`). Keys may safely be stored and retrieved in the system Keychain using `KeychainHandle`, but the user is primarily responsible for knowing their password.
## Contributing
This project lives primarily at [git.average.name](https://git.average.name/AverageHelper/ItemEncryptor). A read-only mirror also exists on [GitHub](https://github.com/AverageHelper/ItemEncryptor). Issues or pull requests should be filed at [git.average.name](https://git.average.name/AverageHelper/ItemEncryptor). You may sign in or create an account directly, or use one of several OAuth 2.0 providers.