{"id":21658376,"url":"https://github.com/tsirysndr/react-native-cryptr","last_synced_at":"2026-05-17T13:17:56.503Z","repository":{"id":57336348,"uuid":"106050123","full_name":"tsirysndr/react-native-cryptr","owner":"tsirysndr","description":"react-native-cryptr is a simple encrypt and decrypt module for react native","archived":false,"fork":false,"pushed_at":"2017-11-09T21:46:49.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T11:04:11.976Z","etag":null,"topics":["crypto","react-native"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/tsirysndr.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}},"created_at":"2017-10-06T21:04:21.000Z","updated_at":"2022-10-31T00:39:18.000Z","dependencies_parsed_at":"2022-09-11T12:22:00.733Z","dependency_job_id":null,"html_url":"https://github.com/tsirysndr/react-native-cryptr","commit_stats":null,"previous_names":["realtsiry/react-native-cryptr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsirysndr%2Freact-native-cryptr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsirysndr%2Freact-native-cryptr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsirysndr%2Freact-native-cryptr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsirysndr%2Freact-native-cryptr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsirysndr","download_url":"https://codeload.github.com/tsirysndr/react-native-cryptr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244555623,"owners_count":20471470,"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":["crypto","react-native"],"created_at":"2024-11-25T09:29:12.079Z","updated_at":"2026-05-17T13:17:51.463Z","avatar_url":"https://github.com/tsirysndr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-cryptr\nreact-native-cryptr is a simple encrypt and decrypt module for react native\n\nIt is for doing simple encryption of values UTF-8 strings that need to be decrypted at a later time.\n\nIf you require anything more than that you probably want to use something more advanced or [react-native-crypto](https://www.npmjs.com/package/react-native-crypto) directly.\n\nThe Cryptr constructor takes 1 required and 1 optional argument.\n\n\tCryptr(secret[, algorithm])\n\nIf an algorithm is not provided it defaults to `aes-256-ctr`.\n\n\n**DO NOT USE THIS MODULE FOR ENCRYPTING PASSWORDS!**\n\nPasswords should be a one way hash. Use [react-native-bcrypt](https://www.npmjs.com/package/react-native-bcrypt) for that.\n\n\n## Install\n\n\tnpm install react-native-cryptr\n\n## Usage\n\n``` javascript\nvar Cryptr = require('react-native-cryptr'),\n    cryptr = new Cryptr('myTotalySecretKey');\n\n\nvar encryptedString = cryptr.encrypt('bacon'),\n    decryptedString = cryptr.decrypt(encryptedString);\n\nconsole.log(encryptedString);  // d7233809c0\nconsole.log(decryptedString);  // bacon\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsirysndr%2Freact-native-cryptr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsirysndr%2Freact-native-cryptr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsirysndr%2Freact-native-cryptr/lists"}