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. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. KeychainAccess

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

  4. secretive

    Store SSH keys in the Secure Enclave

    Project mention: Hardware protection for your private keys | news.ycombinator.com | 2025-05-06
  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. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  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. SwCrypt

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

  15. 2fas-ios

    Source code for 2FAS Auth iOS app

  16. SwiftPasscodeLock

    An iOS passcode lock with TouchID authentication written in Swift.

  17. SimpleKeychain

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

  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. Heimdall

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

  23. ScreenshotPreventing-iOS

    Prevent screenshot or screenrecording on iOS devices

  24. pareto-mac

    Automatically audit your Mac for basic security hygiene.

  25. CommonCrypto.swift

    :trident: CommonCrypto in Swift, and more

  26. SaaSHub

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

    SaaSHub logo
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

  • Hardware protection for your private keys

    1 project | news.ycombinator.com | 6 May 2025
  • Secretive: macOS app for storing SSH keys in the Secure Enclave

    1 project | news.ycombinator.com | 25 Jan 2025
  • Apple Announces Changes to iOS, Safari, and the App Store in the European Union

    6 projects | news.ycombinator.com | 25 Jan 2024
  • Iphone Vs Android

    2 projects | /r/rareinsults | 7 Dec 2023
  • WidgetKit + REST authentication

    1 project | /r/iOSProgramming | 5 Dec 2023
  • We've learned nothing from the SolarWinds hack

    2 projects | news.ycombinator.com | 13 Nov 2023
  • Zero Effort Private Key Compromise: Abusing SSH-Agent for Lateral Movement

    1 project | news.ycombinator.com | 15 Sep 2023
  • A note from our sponsor - Stream
    getstream.io | 14 Jul 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more β†’

Index

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

# Project Stars
1 CryptoSwift 10,369
2 KeychainAccess 8,120
3 secretive 7,579
4 Valet 4,079
5 RNCryptor 3,361
6 keychain-swift 2,932
7 Locksmith 2,919
8 SwiftShield 2,437
9 SwiftyRSA 1,298
10 Damn-Vulnerable-iOS-App-v2 970
11 BiometricAuthentication 834
12 SwCrypt 727
13 2fas-ios 696
14 SwiftPasscodeLock 681
15 SimpleKeychain 652
16 Smile-Lock 601
17 ios-app 510
18 IDZSwiftCommonCrypto 478
19 SecurePropertyStorage 475
20 Heimdall 401
21 ScreenshotPreventing-iOS 370
22 pareto-mac 371
23 CommonCrypto.swift 283

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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