{"id":27770716,"url":"https://github.com/minds/react-native-minds-encryption","last_synced_at":"2025-08-30T15:16:09.793Z","repository":{"id":71810028,"uuid":"117839099","full_name":"Minds/react-native-minds-encryption","owner":"Minds","description":"Encryption/Decryption library for react native","archived":false,"fork":false,"pushed_at":"2019-10-31T13:02:22.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":5,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-07-25T08:52:08.998Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Minds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-01-17T13:20:53.000Z","updated_at":"2024-09-03T21:46:30.000Z","dependencies_parsed_at":"2023-04-19T21:47:20.165Z","dependency_job_id":null,"html_url":"https://github.com/Minds/react-native-minds-encryption","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Minds/react-native-minds-encryption","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2Freact-native-minds-encryption","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2Freact-native-minds-encryption/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2Freact-native-minds-encryption/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2Freact-native-minds-encryption/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Minds","download_url":"https://codeload.github.com/Minds/react-native-minds-encryption/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2Freact-native-minds-encryption/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272866033,"owners_count":25006315,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-04-29T21:15:04.670Z","updated_at":"2025-08-30T15:16:09.775Z","avatar_url":"https://github.com/Minds.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-minds-encryption\n\nA native implementation of RSA encryption/decryption, sign/verify.\nImplementation is in PKCS1 for public\nImplementation is in PKCS8 for private\n\n## Support\n\niOS 10+\nandroid 4.1+ (API 16)\n\n## Status\n\nFeatures:\nEncryption,\nDecryption,\nSign,\nVerify\n\n## Getting started\n\n`$ yarn add react-native-minds-encryption`\n\nor:\n\n`$ npm install react-native-minds-encryption --save`\n\n### Mostly automatic installation:\n\n`$ react-native link react-native-minds-encryption`\n\n## iOS\n\nIn your React Native Xcode project, right click on your project and go 'Add Files to ...', then navigate to \u003cyour-project-root\u003e/node_modules/react-native-minds-crypto/ios and select the Crypto.xcodeproj file. Then in the build settings for your target under 'Link Binary With Libraries', add libCrypto.a.\n\n## Usage\n\n```\n\nimport Encryption from 'react-native-minds-encryption';\n\nconst publicKey = '...';\nconst privateKey = '...';\nconst secret = '...';\n\nEncryption.encrypt('1234', publickey)\n  .then(encodedMessage =\u003e {\n    Encryption.decrypt(encodedMessage, privateKey)\n      .then(message =\u003e {\n        console.log(message);\n      });\n  });\n\nEncryption.sign(secret, keys.private)\n  .then(signature =\u003e {\n    console.log(signature);\n\n    Encryption.verify(signature, secret, publicKey)\n      .then(valid =\u003e {\n        console.log(valid);\n      });\n  });\n```\n\n## Credit\n\n* Based on https://github.com/amitaymolko/react-native-rsa-native\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminds%2Freact-native-minds-encryption","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminds%2Freact-native-minds-encryption","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminds%2Freact-native-minds-encryption/lists"}