swift-crypto icon indicating copy to clipboard operation
swift-crypto copied to clipboard

Open-source implementation of a substantial portion of the API of Apple CryptoKit suitable for use on Linux platforms.

Results 66 swift-crypto issues
Sort by recently updated
recently updated
newest added

Add API to `_CryptoExtras` to provide basic RSA pubkey encrypt and privkey decrypt operations. Closes #124. ### Checklist - [x] I've run tests to see all new and existing tests...

### New API Proposal: RSA encrypt/decrypt support in `_CryptoExtras` #### Motivation: While it is always desirable to encourage motion away from outdated and security-questionable algorithms like RSA, in practical usage...

I've proposed an implementation of **PBKDF2** algorithm using the CryptoKit style. As per issue #59 ### Checklist - [x] I've run tests to see all new and existing tests pass...

### New API Proposal: RSA Key Support #### Motivation: RSA is a widely used and popular public key system used for key exchange and popular with JWTs and older TLS...

### New API Proposal: Crypto operations on streamed data #### Motivation: Add APIs to handle crypto operations on streamed data, meaning by processing chunks of data of arbitrary size in...

As far as I can tell, Swift Crypto requires macOS 10.15 / iOS 13 on Apple platforms, presumably due to the dependency on CryptoKit. Would it be possible to use...

### New API Proposal: Curve25519 #### Motivation: I know CryptoKit provides Curve25519, but to export the public key as a pem string is not possible, as the raw representation of...

### New API Proposal: Password based KDF #### Motivation: Currently no password based KDF is available. This is required for tasks like generating a AES key from a password. ####...

### New API Proposal: SwiftWasm support #### Motivation: Hey! I try to compile `swift-crypto` with [SwiftWasm](https://book.swiftwasm.org/index.html), using command: ```bash swift build --triple wasm32-unknown-wasi ``` Which produces the following compilation error:...

### New Issue Checklist - [X] I'm using the latest version of Swift Crypto (master branch) - [X] I read the [Contribution Guidelines](https://github.com/apple/swift-crypto/blob/master/CONTRIBUTING.md) - [X] I searched for [existing GitHub...