Skip to content
S

SwiftyRSA

RSA public/private key encryption in Swift

by TakeScoopFree

#1815in Developer Tools
0In stores

Description

SwiftyRSA is a Swift library for RSA public and private key encryption. It lets an iOS or macOS app encrypt data with a public key and decry…

Highlights

  • Encrypt and decrypt with RSA public and private keys
  • Sign data and verify signatures
  • Keys from DER, PEM, Base64, data or SecKey
  • X.509 header handling for keychain compatibility
  • Installs with CocoaPods or Carthage

Ratings & Reviews

No ratings yet

Be the first to rate SwiftyRSA.

People also visit

S

SwiftyShield

A Professional And Powerful Swift Code Obfuscation Tool

Developer Tools
Launch
B

Bouncy GPG

Make using Bouncy Castle with OpenPGP fun again!

Developer Tools
Launch
O

OpenSSL-for-iPhone

A script for compiling OpenSSL for iOS Devices

Utilities
Launch
C

cryptokit

Use Apple CryptoKit for Swift cryptographic primitives

AI Skills
Get
I

Ios Mac App

Official ProtonVPN iOS and macOS app

Utilities
Launch
R

React Native Sensitive Info

React Native secure storage, rebuilt

Utilities
Launch

SwiftyRSA FAQ

What is SwiftyRSA?

A Swift library for RSA public key encryption, decryption, signing and verification in iOS and macOS apps.

What does it require?

Swift 5.0 or later and Xcode 10.2 or later.

How do I install it?

With CocoaPods or Carthage. Objective-C usage is also shown in the README.

Which key formats can it read?

DER files, PEM files, PEM strings, Base64 strings, raw data and SecKey objects.

Why does it strip X.509 headers?

The README says the iOS keychain accepts keys only without the header, so the library strips it when a key is stored or created.

How do I create keys?

The README uses ssh-keygen to generate a PEM public key and a PEM private key, and advises keeping the private key in a secure place.

Who maintains it?

The README lists @ikeith as the maintainer. It says the library is used in the Scoop iOS app.

What are the best SwiftyRSA alternatives?

Popular alternatives to SwiftyRSA include SwiftyShield, Bouncy GPG and Ipaverse. See all SwiftyRSA alternatives

Developer Stuff

Badges