{"id":18277483,"url":"https://github.com/standardnotes/react-native-sodium-jsi","last_synced_at":"2025-04-05T04:30:38.170Z","repository":{"id":57340269,"uuid":"452809907","full_name":"standardnotes/react-native-sodium-jsi","owner":"standardnotes","description":"React Native Libsodium JSI Implementation","archived":false,"fork":false,"pushed_at":"2022-05-24T15:43:41.000Z","size":21756,"stargazers_count":17,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-01T18:09:19.702Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/standardnotes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-27T19:05:50.000Z","updated_at":"2024-01-18T02:26:51.000Z","dependencies_parsed_at":"2022-09-03T16:11:08.960Z","dependency_job_id":null,"html_url":"https://github.com/standardnotes/react-native-sodium-jsi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standardnotes%2Freact-native-sodium-jsi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standardnotes%2Freact-native-sodium-jsi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standardnotes%2Freact-native-sodium-jsi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standardnotes%2Freact-native-sodium-jsi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/standardnotes","download_url":"https://codeload.github.com/standardnotes/react-native-sodium-jsi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289382,"owners_count":20914463,"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-11-05T12:19:18.587Z","updated_at":"2025-04-05T04:30:33.121Z","avatar_url":"https://github.com/standardnotes.png","language":"C++","readme":"# react-native-sodium-jsi\n\nPrecompiled binaries of [libsodium](https://libsodium.org) will be linked by default.\n\nOptionally, you can choose to compile libsodium by yourself (run **npm\u0026nbsp;run\u0026nbsp;rebuild** in package directory). Source code will be downloaded and verified before compilation.\n\nSupported Libsodium functions:\n\n- `crypto_aead_xchacha20poly1305_ietf_encrypt`\n- `crypto_aead_xchacha20poly1305_ietf_decrypt`\n- `crypto_pwhash`\n- `crypto_aead_xchacha20poly1305_ietf_keygen`\n- `randombytes_buf`\n- `randombytes_random`\n- `to_base64`\n- `from_base64`\n\n### Source compilation\n\n###### General prerequisites\n\n- gpg (macports, homebrew)\n- minisign (homebrew)\n\n###### MacOS prerequisites\n\n- libtool (macports, homebrew)\n- autoconf (macports, homebrew)\n- automake (macports, homebrew)\n- Xcode (12 or newer)\n\n###### Android prerequisites\n\n- Android NDK\n- CMake\n- LLDB\n\n### Recompile and repackage\n\n1. `yarn rebundle`\n\n### Usage\n\nUsing hermes on Android is required.\n\n1. `npm install react-native-sodium-jsi`\n2. `npx pod-install ios`\n3. Run your app.\n\n### Example app\n\n1. `yarn bootstrap`\n2. `yarn example`\n3. `yarn ios` or `yarn android`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstandardnotes%2Freact-native-sodium-jsi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstandardnotes%2Freact-native-sodium-jsi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstandardnotes%2Freact-native-sodium-jsi/lists"}