{"id":18458730,"url":"https://github.com/browserify/buffer-xor","last_synced_at":"2025-08-16T11:36:15.627Z","repository":{"id":32415527,"uuid":"35992529","full_name":"browserify/buffer-xor","owner":"browserify","description":"A simple module for bitwise-xor on buffers","archived":false,"fork":false,"pushed_at":"2024-12-21T10:00:38.000Z","size":13,"stargazers_count":30,"open_issues_count":5,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T17:08:16.791Z","etag":null,"topics":["bitwise-xor","buffer","buffer-xor","cryptography","javascript","xor"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/browserify.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-05-21T05:17:58.000Z","updated_at":"2024-05-11T04:23:29.000Z","dependencies_parsed_at":"2025-03-01T05:01:23.183Z","dependency_job_id":null,"html_url":"https://github.com/browserify/buffer-xor","commit_stats":null,"previous_names":["crypto-browserify/buffer-xor"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserify%2Fbuffer-xor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserify%2Fbuffer-xor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserify%2Fbuffer-xor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserify%2Fbuffer-xor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browserify","download_url":"https://codeload.github.com/browserify/buffer-xor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247785919,"owners_count":20995641,"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":["bitwise-xor","buffer","buffer-xor","cryptography","javascript","xor"],"created_at":"2024-11-06T08:19:49.408Z","updated_at":"2025-04-08T05:34:27.579Z","avatar_url":"https://github.com/browserify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buffer-xor\n\n[![NPM Package](https://img.shields.io/npm/v/buffer-xor.svg?style=flat-square)](https://www.npmjs.org/package/buffer-xor)\n[![Build Status](https://img.shields.io/travis/crypto-browserify/buffer-xor.svg?branch=master\u0026style=flat-square)](https://travis-ci.org/crypto-browserify/buffer-xor)\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\nA simple module for bitwise-xor on buffers.\n\n\n## Examples\n\n``` javascript\nvar xor = require('buffer-xor')\nvar a = new Buffer('00ff0f', 'hex')\nvar b = new Buffer('f0f0', 'hex')\n\nconsole.log(xor(a, b))\n// =\u003e \u003cBuffer f0 0f 0f\u003e\n```\n\n\nOr for those seeking those few extra cycles, perform the operation in place with\n`xorInplace`:\n\n_NOTE: `xorInplace` won't xor past the bounds of the buffer it mutates so make\nsure it is long enough!_\n\n``` javascript\nvar xorInplace = require('buffer-xor/inplace')\nvar a = new Buffer('00ff0f', 'hex')\nvar b = new Buffer('f0f0', 'hex')\n\nconsole.log(xorInplace(a, b))\n// =\u003e \u003cBuffer f0 0f 0f\u003e\n\n// See that a has been mutated\nconsole.log(a)\n// =\u003e \u003cBuffer f0 0f 0f\u003e\n```\n\n\n## License [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserify%2Fbuffer-xor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowserify%2Fbuffer-xor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserify%2Fbuffer-xor/lists"}