{"id":18339866,"url":"https://github.com/rnkit/react-native-rsa-util","last_synced_at":"2026-03-03T21:31:04.584Z","repository":{"id":57339668,"uuid":"59191696","full_name":"rnkit/react-native-rsa-util","owner":"rnkit","description":"rsa util for iOS and Android","archived":false,"fork":false,"pushed_at":"2016-10-14T06:00:19.000Z","size":155,"stargazers_count":4,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-24T02:10:04.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rnkit.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":"2016-05-19T09:14:17.000Z","updated_at":"2021-06-27T21:44:02.000Z","dependencies_parsed_at":"2022-09-04T14:23:17.301Z","dependency_job_id":null,"html_url":"https://github.com/rnkit/react-native-rsa-util","commit_stats":null,"previous_names":["touna-app-front-end/react-native-rsa-util"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rnkit/react-native-rsa-util","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnkit%2Freact-native-rsa-util","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnkit%2Freact-native-rsa-util/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnkit%2Freact-native-rsa-util/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnkit%2Freact-native-rsa-util/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rnkit","download_url":"https://codeload.github.com/rnkit/react-native-rsa-util/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnkit%2Freact-native-rsa-util/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30062335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-05T20:19:39.989Z","updated_at":"2026-03-03T21:31:04.557Z","avatar_url":"https://github.com/rnkit.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-rsa-util\nrsa util for iOS and Android\n\n## How To Use This\n\n### 1. npm install this module\n\n```\nnpm i react-native-rsa-util\n```\n\n### 2. use rnpm to link project file\n\n```\nrnpm link react-native-rsa-util\n```\n\n### 3. import react-native-rsa-util\n\n```\nimport ReactNativeRSAUtil from 'react-native-rsa-util';\n```\n\n### 4. use it !!!\n\n#### encryptStringWithPublicKey\n```\nReactNativeRSAUtil.encryptStringWithPublicKey(content, RSA_PUBLIC_KEY)\n    .then((error, data) =\u003e {\n        if ( !error ) {\n            console.log(data);\n        }\n    });\n```\n\n#### decryptStringWithPublicKey\n```\nReactNativeRSAUtil.decryptStringWithPublicKey(content, RSA_PUBLIC_KEY)\n    .then((error, data) =\u003e {\n        if ( !error ) {\n            console.log(data);\n        }\n    });\n```\n\n#### encryptStringWithPrivateKey\n```\nReactNativeRSAUtil.encryptStringWithPrivateKey(content, RSA_PRIVATE_KEY)\n    .then((error, data) =\u003e {\n        if ( !error ) {\n            console.log(data);\n        }\n    });\n```\n\n#### decryptStringWithPrivateKey\n```\nReactNativeRSAUtil.decryptStringWithPrivateKey(content, RSA_PRIVATE_KEY)\n    .then((error, data) =\u003e {\n        if ( !error ) {\n            console.log(data);\n        }\n    });\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnkit%2Freact-native-rsa-util","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frnkit%2Freact-native-rsa-util","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnkit%2Freact-native-rsa-util/lists"}