# ideawu/Objective-C-RSA

Doing RSA encryption and decryption with Objective-C on iOS

Repository: https://github.com/ideawu/Objective-C-RSA
Canonical: https://ross.abutalabs.com/products/objective-c-rsa
Homepage: http://www.ideawu.com/blog/post/132.html
Language: Objective-C
License: NOASSERTION
License Family: other
Last push: 2021-06-25T09:38:01+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4229, "days_push": 1895, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1158, forks 279 (observed 2026-08-28T04:03:48.428536+00:00)

## What it is
A small Objective-C library for performing RSA encryption and decryption on iOS, using PEM-formatted public and private keys. It provides simple class methods to encrypt/decrypt strings and data, with a companion PHP script for cross-language testing.

## Use cases
- encrypt data with an RSA public key in an iOS app
- decrypt server-sent RSA-encrypted data on iOS
- interoperate RSA encryption between iOS and PHP
- encrypt strings with only a public key in Objective-C
- handle PEM public/private keys in an iOS app

## When to choose
- you need simple RSA encrypt/decrypt in an Objective-C iOS project
- you must match RSA behavior with a PHP backend
- you want a lightweight drop-in RSA.h/RSA.m without heavy dependencies

## When to avoid
- you need thread-safe cryptographic operations
- you need modern algorithms beyond RSA or keychain-managed keys
- you are writing Swift and prefer a native Swift solution
- you need actively maintained code with a clear license

## Facets
- artifact type: library
- maturity: maintenance
- function: cryptography, security
- domain: security, mobile-development
- platform: -
- tags: rsa, objective-c, encryption, decryption, public-key, private-key, ios, mobile

## Member repositories
- ideawu/Objective-C-RSA (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:48.428536+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:31:57.416710+00:00, confidence not recorded.
  - readme: https://github.com/ideawu/Objective-C-RSA (fetched 2026-08-28T04:03:48.428536+00:00, sha 5aaacca358d7)
  - homepage: http://www.ideawu.com/blog/post/132.html (fetched 2026-08-29T12:36:45.803130+00:00, sha 8abe49d8b0de)
- Data as of 2026-08-30T08:39:29.467469+00:00.
