{"id":1928,"url":"https://github.com/Techprimate/TPObfuscatedString","last_synced_at":"2025-08-02T05:33:08.262Z","repository":{"id":56923134,"uuid":"43155758","full_name":"techprimate/TPObfuscatedString","owner":"techprimate","description":"Obfuscate your strings in Swift easily","archived":true,"fork":false,"pushed_at":"2018-09-07T09:23:04.000Z","size":29,"stargazers_count":20,"open_issues_count":3,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-28T20:02:27.941Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techprimate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-25T15:34:53.000Z","updated_at":"2023-10-17T03:47:15.000Z","dependencies_parsed_at":"2022-08-21T05:20:19.010Z","dependency_job_id":null,"html_url":"https://github.com/techprimate/TPObfuscatedString","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techprimate%2FTPObfuscatedString","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techprimate%2FTPObfuscatedString/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techprimate%2FTPObfuscatedString/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techprimate%2FTPObfuscatedString/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techprimate","download_url":"https://codeload.github.com/techprimate/TPObfuscatedString/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228443726,"owners_count":17920774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:15:59.197Z","updated_at":"2024-12-06T09:30:37.673Z","avatar_url":"https://github.com/techprimate.png","language":"Swift","readme":"TPObfuscatedString\n==================\n\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/TPObfuscatedString.svg)](https://img.shields.io/cocoapods/v/TPObfuscatedString.svg)\n[![Language](https://img.shields.io/badge/language-Swift-orange.svg)](https://developer.apple.com/swift/)\n[![Platform](https://img.shields.io/cocoapods/p/TPObfuscatedString.svg?style=flat)](http://cocoadocs.org/docsets/TPObfuscatedString.svg)\n[![License](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://github.com/Techprimate/TPLocalizedError/blob/master/LICENSE)\n[![Twitter](https://img.shields.io/badge/twitter-@Techprimate-blue.svg?style=flat)](http://twitter.com/techprimate)\n[![Website](https://img.shields.io/badge/www-techprimate.com-blue.svg?style=flat)](http://www.techprimate.com)\n\nTPObfuscatedString is a simple extension for `String` in Swift.\nIt allows you to obfuscate hardcoded Strings in your compiled binary.\n\nTo try it out, use the commandline `strings`.\n\nThis project is not supposed to be a copy of the library UAObfuscatedString!\nTPObfuscatedString uses basic Swift code to improve security even more!\n\nAcknowledgment\n==============\n\nA big thank you to [UrbanApps](https://github.com/UrbanApps) and their project [UAObfuscatedString](https://github.com/UAObfuscatedString)!\nIt is a great library and the initial spark for me to create this pure swift library.\n\nHow does it work?\n=================\n\nTPObfuscatedString does not save any Strings to the compiled binary. \nActually it uses UnicodeScalars to find the correct letter!\n\nNow Hackers won't be able to extract strings from your binary anymore!\n\nCommunication\n=============\n\n- If you need help, use Stack Overflow.\n- If you found a bug, open an issue.\n- If you have a feature request, open an issue.\n- If you want to contribute, see [Contributing](https://github.com/Techprimate/TPObfuscatedString#contributing) section.\n\nInstallation\n============\n\n**Via CocoaPods**  \nTo integrate TPObfuscatedString into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '8.0'\nuse_frameworks!\n\npod 'TPObfuscatedString'\n```\n\n**Manually**  \n1. Add `TPObfuscatedString.swift` to your project.  \n2. That's it!\n\nUsage\n=====\n\nUsing this library is very simple. First of all you need an empty String object.\nFor your convenience you can simply use the static object `TPObStr` which is nothing different than an empty String.\n\nEvery letter has a corresponding method name. These methods are case-sensitive!\nSpecial character and numbers have a spelled out method.\nAll visible ASCII characters are supported by now!\n\nExample:\n```swift\nTPObStr.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\n```\n\nThis returns this string: `This is an example text: Hi!`\n\nPerformance\n===========\n\nThis kind of obfuscated is slower than a hardcoded value which is pulled from the binary/memory.\nBut you can combine this with a caching algorithm to fasten it up!\nAlso this library is only recommended for short strings!\n\nContributing\n============\nI would appreciate it a lot to see you improving this library!\nThe easiest way to contribute is fork the repo and send me a pull request after you created your adaption.\n\nPlease be sure the project builds without any warnings or errors before submitting a pull request!\n\nI will respond to you and merging your changes into the master project as soon as possible!\n\nAuthor\n======\n**Philip Niedertscheider**\n\n[![Website](https://img.shields.io/badge/www-techprimate.com-blue.svg?style=flat)](http://www.techprimate.com)\n\nLicense\n=======\nTPLocalizedError is available under the MIT license. See the **[LICENSE](https://github.com/Techprimate/TPObfuscatedString/blob/master/LICENSE)** file for more info.","funding_links":[],"categories":["Security"],"sub_categories":["Unofficial","Other free courses"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTechprimate%2FTPObfuscatedString","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTechprimate%2FTPObfuscatedString","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTechprimate%2FTPObfuscatedString/lists"}