{"id":16186890,"url":"https://github.com/robloach/xor-crypt","last_synced_at":"2025-11-08T22:02:41.888Z","repository":{"id":26800846,"uuid":"30259292","full_name":"RobLoach/xor-crypt","owner":"RobLoach","description":":symbols: Simple JavaScript XOR string encryption library","archived":false,"fork":false,"pushed_at":"2018-07-29T22:18:30.000Z","size":20,"stargazers_count":10,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"gh-pages","last_synced_at":"2025-03-30T18:02:09.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://robloach.github.io/xor-crypt/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobLoach.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-03T19:02:25.000Z","updated_at":"2023-07-26T21:39:00.000Z","dependencies_parsed_at":"2022-08-31T19:11:12.640Z","dependency_job_id":null,"html_url":"https://github.com/RobLoach/xor-crypt","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fxor-crypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fxor-crypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fxor-crypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fxor-crypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobLoach","download_url":"https://codeload.github.com/RobLoach/xor-crypt/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247659697,"owners_count":20974760,"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-10-10T07:19:45.473Z","updated_at":"2025-11-08T22:02:41.852Z","avatar_url":"https://github.com/RobLoach.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XOR-Crypt\n\n[![Build Status](https://travis-ci.org/RobLoach/xor-crypt.svg?branch=gh-pages)](https://travis-ci.org/RobLoach/xor-crypt)\n[![NPM version](https://img.shields.io/npm/v/xor-crypt.svg)](https://npmjs.org/package/xor-crypt \"View this project on NPM\")\n[![NPM downloads](https://img.shields.io/npm/dm/xor-crypt.svg)](https://npmjs.org/package/xor-crypt \"View this project on NPM\")\n[![Dependency Status](https://img.shields.io/david/RobLoach/xor-crypt.svg)](https://david-dm.org/RobLoach/xor-crypt)\n[![Dev Dependency Status](https://img.shields.io/david/dev/RobLoach/xor-crypt.svg)](https://david-dm.org/RobLoach/xor-crypt#info=devDependencies)\n\nSimple XOR string encryption library.\n\n## Install\n\n### [NPM](http://npmjs.org/)\n- Use: `require('xor-crypt')`\n- Install: `npm install --save xor-crypt`\n\n### [Browserify](http://browserify.org/)\n- Use: `require('xor-crypt')`\n- Install: `npm install --save xor-crypt`\n- CDN URL: `//wzrd.in/bundle/xor-crypt@0.0.2`\n\n### [Ender](http://ender.jit.su/)\n- Use: `require('xor-crypt')`\n- Install: `ender add xor-crypt`\n\n### [Component](http://github.com/component/component)\n- Use: `require('xor-crypt')`\n- Install: `component install RobLoach/xor-crypt`\n\n### [Bower](http://bower.io/)\n- Use: `require('xor-crypt')`\n- Install: `bower install xor-crypt`\n\n## Usage\n\nSee the [XOR-Crypt demonstration](http://robloach.github.io/xor-crypt/) for a\nlive usage of XOR-Crypt.\n\n``` javascript\nvar encrypted = xorCrypt('Hello World');\n// Outputs: Ncjji\u0026Qitjb\n\nvar decrypted = xorCrypt(encrypted);\n// Outputs: Hello World\n\n// Use your own XOR Key.\nvar encrypted = xorCrypt('Hello World', 9);\nvar decrypted = xorCrypt(encrypted, 9);\n```\n\n## Development\n\nInstall dependencies through [npm](http://npmjs.org):\n\n    npm install\n\nTest with [ESLint](http://eslint.org), [Mocha](http://mochajs.org) and [Mocha\nJSDom](https://github.com/rstacruz/mocha-jsdom):\n\n    npm test\n\nBuild `xor-crypt.min.js` with:\n\n    npm run build\n\nTag and publish the new versions to [npm](http://npmjs.com) with [Semantic\nVersioning](http://semver.org/):\n\n    git tag 2.0.0\n    git push origin 2.0.0\n    npm publish\n\n## History\n\n[Discover the change history by heading on over to the `HISTORY.md` file.](https://github.com/RobLoach/xor-crypt/blob/master/HISTORY.md#files)\n\n## License\n\nLicensed under the incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT license](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobloach%2Fxor-crypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobloach%2Fxor-crypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobloach%2Fxor-crypt/lists"}