TPObfuscatedString alternatives and similar libraries
Based on the "Security" category.
Alternatively, view TPObfuscatedString alternatives based on common mentions on social networks and blogs.
-
CryptoSwift
CryptoSwift is a growing collection of standard and secure cryptographic algorithms implemented in Swift -
RNCryptor
CCCryptor (AES encryption) wrappers for iOS and Mac in Swift. -- For ObjC, see RNCryptor/RNCryptor-objc -
Valet
Valet lets you securely store data in the iOS, tvOS, or macOS Keychain without knowing a thing about how the Keychain works. Itβs easy. We promise. -
UICKeyChainStore
UICKeyChainStore is a simple wrapper for Keychain on iOS, watchOS, tvOS and macOS. Makes using Keychain APIs as easy as NSUserDefaults. -
SwiftKeychainWrapper
DISCONTINUED. A simple wrapper for the iOS Keychain to allow you to use it in a similar fashion to User Defaults. Written in Swift. -
Themis
Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms. -
BiometricAuthentication
Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication. -
SwCrypt
RSA public/private key generation, RSA, AES encryption/decryption, RSA sign/verify in Swift with CommonCrypto in iOS and OS X -
SecurePropertyStorage
Helps you define secure storages for your properties using Swift property wrappers. -
KKPinCodeTextField
A customizable verification code textField. Can be used for phone verification codes, passwords etc -
iOS-App-Security-Class
DISCONTINUED. Simple class to check if app has been cracked, being debugged or enriched with custom dylib -
Virgil Security Objective-C/Swift SDK
Virgil Core SDK allows developers to get up and running with Virgil Cards Service API quickly and add end-to-end security to their new or existing digital solutions to become HIPAA and GDPR compliant and more. -
RSASwiftGenerator
Util for generation RSA keys on your client and save to keychain or convert into Data π π -
VoiceItAPI1IosSDK
DISCONTINUED. A super easy way to add Voice Authentication(Biometrics) to your iOS apps, conveniently usable via cocoapods
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of TPObfuscatedString or a related project?
README
TPObfuscatedString
TPObfuscatedString is a simple extension for String
in Swift.
It allows you to obfuscate hardcoded Strings in your compiled binary.
To try it out, use the commandline strings
.
This project is not supposed to be a copy of the library UAObfuscatedString! TPObfuscatedString uses basic Swift code to improve security even more!
Acknowledgment
A big thank you to UrbanApps and their project UAObfuscatedString! It is a great library and the initial spark for me to create this pure swift library.
How does it work?
TPObfuscatedString does not save any Strings to the compiled binary. Actually it uses UnicodeScalars to find the correct letter!
Now Hackers won't be able to extract strings from your binary anymore!
Communication
- If you need help, use Stack Overflow.
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, see Contributing section.
Installation
Via CocoaPods
To integrate TPObfuscatedString into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'TPObfuscatedString'
Manually
- Add
TPObfuscatedString.swift
to your project. - That's it!
Usage
Using this library is very simple. First of all you need an empty String object.
For your convenience you can simply use the static object TPObStr
which is nothing different than an empty String.
Every letter has a corresponding method name. These methods are case-sensitive! Special character and numbers have a spelled out method. All visible ASCII characters are supported by now!
Example:
TPObStr.T.h.i.s.space.i.s.space.a.n.space.e.x.a.m.p.l.e.space.t.e.x.t.colon.space.H.i.exclamation
This returns this string: This is an example text: Hi!
Performance
This kind of obfuscated is slower than a hardcoded value which is pulled from the binary/memory. But you can combine this with a caching algorithm to fasten it up! Also this library is only recommended for short strings!
Contributing
I would appreciate it a lot to see you improving this library! The easiest way to contribute is fork the repo and send me a pull request after you created your adaption.
Please be sure the project builds without any warnings or errors before submitting a pull request!
I will respond to you and merging your changes into the master project as soon as possible!
Author
Philip Niedertscheider
License
TPLocalizedError is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the TPObfuscatedString README section above
are relevant to that project's source code only.