Swift Security

Open-source Swift projects categorized as Security

Top 23 Swift Security Projects

  1. CryptoSwift

    CryptoSwift is a growing collection of standard and secure cryptographic algorithms implemented in Swift

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. secretive

    Protect your SSH keys with your Mac's Secure Enclave

    Project mention: TanStack NPM Packages Compromised | news.ycombinator.com | 2026-05-11

    I'm not a huge fan of 1Password, there have been way too many issues in the past with it. If you're on a Mac, I can highly recommend you to check out Secretive https://github.com/maxgoedjen/secretive

  4. KeychainAccess

    Simple Swift wrapper for Keychain that works on iOS, watchOS, tvOS and macOS.

  5. Valet

    Valet lets you securely store data in the iOS, tvOS, watchOS, or macOS Keychain without knowing a thing about how the Keychain works. It’s easy. We promise.

  6. RNCryptor

    CCCryptor (AES encryption) wrappers for iOS and Mac in Swift. -- For ObjC, see RNCryptor/RNCryptor-objc

  7. keychain-swift

    Helper functions for saving text in Keychain securely for iOS, OS X, tvOS and watchOS.

  8. Locksmith

    A powerful, protocol-oriented library for working with the keychain in Swift.

  9. OnionBrowser

    An open-source, privacy-enhancing web browser for iOS, utilizing the Tor anonymity network

  10. SwiftShield

    🔒 Swift Obfuscator that protects iOS apps against reverse engineering attacks.

  11. SwiftyRSA

    RSA public/private key encryption in Swift

  12. Damn-Vulnerable-iOS-App-v2

    Damn Vulnerable iOS App (DVIA) is an iOS application that is damn vulnerable. Its main goal is to provide a platform to mobile security enthusiasts/professionals or students to test their iOS penetration testing skills in a legal environment. This project is developed and maintained by @prateekg147. The vulnerabilities and solutions covered in this app are tested up to iOS 11. The current version is writen in Swift and has the following vulnerabilities.

  13. BiometricAuthentication

    Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication.

  14. 2fas-ios

    Source code for 2FAS Auth iOS app

  15. SwCrypt

    RSA public/private key generation, RSA, AES encryption/decryption, RSA sign/verify in Swift with CommonCrypto in iOS and OS X

  16. SimpleKeychain

    A simple Keychain wrapper for iOS, macOS, tvOS, and watchOS

  17. SwiftPasscodeLock

    An iOS passcode lock with TouchID authentication written in Swift.

  18. Smile-Lock

    A library for make a beautiful Passcode Lock View

  19. ios-app

    Official IVPN iOS app

  20. IDZSwiftCommonCrypto

    A wrapper for Apple's Common Crypto library written in Swift.

  21. SecurePropertyStorage

    Helps you define secure storages for your properties using Swift property wrappers.

  22. pareto-mac

    Automatically audit your Mac for basic security hygiene.

  23. ScreenshotPreventing-iOS

    Prevent screenshot or screenrecording on iOS devices

  24. Heimdall

    Heimdall is a wrapper around the Security framework for simple encryption/decryption operations. (by henrinormak)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Swift Security discussion

Log in or Post with

Swift Security related posts

Index

What are some of the best open-source Security projects in Swift? This list will help you:

# Project Stars
1 CryptoSwift 10,555
2 secretive 8,603
3 KeychainAccess 8,246
4 Valet 4,162
5 RNCryptor 3,362
6 keychain-swift 3,004
7 Locksmith 2,920
8 OnionBrowser 2,591
9 SwiftShield 2,533
10 SwiftyRSA 1,304
11 Damn-Vulnerable-iOS-App-v2 1,067
12 BiometricAuthentication 832
13 2fas-ios 743
14 SwCrypt 731
15 SimpleKeychain 721
16 SwiftPasscodeLock 677
17 Smile-Lock 597
18 ios-app 557
19 IDZSwiftCommonCrypto 478
20 SecurePropertyStorage 474
21 pareto-mac 443
22 ScreenshotPreventing-iOS 405
23 Heimdall 398

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Swift is
the 12th most popular programming language
based on number of references?