{"id":16086569,"url":"https://github.com/ksdaemon/wampy-cryptosign","last_synced_at":"2025-03-18T06:30:40.405Z","repository":{"id":61839115,"uuid":"541774931","full_name":"KSDaemon/wampy-cryptosign","owner":"KSDaemon","description":"Wampy Cryptosign-based Authentication plugin","archived":false,"fork":false,"pushed_at":"2024-05-20T07:35:07.000Z","size":1032,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-23T10:32:21.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/KSDaemon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":"wampyjs","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-09-26T20:36:41.000Z","updated_at":"2024-05-27T12:31:11.169Z","dependencies_parsed_at":"2024-05-02T12:02:43.939Z","dependency_job_id":"1410838d-80f3-45fa-95de-a16ef9234ede","html_url":"https://github.com/KSDaemon/wampy-cryptosign","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":0.4482758620689655,"last_synced_commit":"5aeb4d9ade7fc54cd06a6a0b36d4759d5359af53"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSDaemon%2Fwampy-cryptosign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSDaemon%2Fwampy-cryptosign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSDaemon%2Fwampy-cryptosign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSDaemon%2Fwampy-cryptosign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KSDaemon","download_url":"https://codeload.github.com/KSDaemon/wampy-cryptosign/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244169273,"owners_count":20409688,"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-09T13:13:39.884Z","updated_at":"2025-03-18T06:30:40.386Z","avatar_url":"https://github.com/KSDaemon.png","language":"JavaScript","funding_links":["https://opencollective.com/wampyjs"],"categories":[],"sub_categories":[],"readme":"# wampy-cryptosign\n\n[WAMP][] Cryptosign-based Authentication plugin for [Wampy.js][].\n\n[![NPM version][npm-image]][npm-url]\n[![Build Status][gh-build-test-image]][gh-build-test-url]\n[![Code coverage][coveralls-image]][coveralls-url]\n[![MIT License][license-image]][license-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n\n## Description\n\nwampy-cryptosign exposes 3 methods:\n\n* hex2bytes(str). Helper method to convert hex string to bytes array.\n* bytes2hex(bytes). Helper method to convert bytes array to hex string.\n* **sign(privateKey)**. Probably the only function you need. Used to automatically create a\n  Ed25519 signature for challenge message, using private key. This function can be passed as onChallenge callback.\n\nSee examples in Wampy.js docs section\n[\"Cryptosign-based Authentication\"](https://github.com/KSDaemon/wampy.js#cryptosign-based-authentication)\n\nThanks JetBrains for the best IDEs and support for open source!\n\n[![jetbrains logo]][jetbrains url]\n\n[Wampy.js]: https://github.com/KSDaemon/wampy.js\n[WAMP]: http://wamp-proto.org/\n\n[npm-url]: https://www.npmjs.com/package/wampy-cryptosign\n[npm-image]: https://img.shields.io/npm/v/wampy-cryptosign.svg?style=flat\n\n[gh-build-test-url]: https://github.com/KSDaemon/wampy-cryptosign/actions/workflows/build-and-test.yml\n[gh-build-test-image]: https://github.com/KSDaemon/wampy-cryptosign/actions/workflows/build-and-test.yml/badge.svg\n\n[coveralls-url]: https://coveralls.io/github/KSDaemon/wampy-cryptosign\n[coveralls-image]: https://img.shields.io/coveralls/KSDaemon/wampy-cryptosign/master.svg?style=flat\n\n[license-image]: https://img.shields.io/badge/license-MIT-blue.svg\n[license-url]: http://opensource.org/licenses/MIT\n\n[snyk-image]: https://snyk.io/test/github/KSDaemon/wampy-cryptosign/badge.svg?targetFile=package.json\n[snyk-url]: https://snyk.io/test/github/KSDaemon/wampy-cryptosign?targetFile=package.json\n\n[jetbrains logo]: jetbrains.svg\n[jetbrains url]: (https://www.jetbrains.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksdaemon%2Fwampy-cryptosign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksdaemon%2Fwampy-cryptosign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksdaemon%2Fwampy-cryptosign/lists"}