{"id":44474523,"url":"https://github.com/jchv/js-srp","last_synced_at":"2026-02-12T22:10:38.889Z","repository":{"id":60141899,"uuid":"541252098","full_name":"jchv/js-srp","owner":"jchv","description":"A JavaScript SRP-6a implementation compatible with opencoff/go-srp and idlesign/srptools.","archived":false,"fork":false,"pushed_at":"2023-08-07T13:25:34.000Z","size":26,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T19:34:48.104Z","etag":null,"topics":["javascript","secure-authentication","srp","srp-6a","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jchv.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}},"created_at":"2022-09-25T17:25:07.000Z","updated_at":"2025-01-02T17:50:47.000Z","dependencies_parsed_at":"2023-01-26T00:00:15.727Z","dependency_job_id":null,"html_url":"https://github.com/jchv/js-srp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jchv/js-srp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchv%2Fjs-srp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchv%2Fjs-srp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchv%2Fjs-srp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchv%2Fjs-srp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jchv","download_url":"https://codeload.github.com/jchv/js-srp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchv%2Fjs-srp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29383071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T22:07:52.078Z","status":"ssl_error","status_checked_at":"2026-02-12T22:07:49.026Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["javascript","secure-authentication","srp","srp-6a","typescript"],"created_at":"2026-02-12T22:10:34.359Z","updated_at":"2026-02-12T22:10:38.884Z","avatar_url":"https://github.com/jchv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js-srp\nThis is an implementation of the SRP-6a protocol.\n\nThis library supports standard RFC2945 SRP-6a (needs validation,) SRPTools-compatible SRP, which is the same as RFC2945 but without the hash interleave, and [opencoff/go-srp](https://github.com/opencoff/go-srp), whose differences are quoted here, from the [opencoff/go-srp README](https://github.com/opencoff/go-srp#differences-from-srp-6a-and-rfc-5054).\n\n\u003e Differences from SRP-6a and RFC 5054\n\u003e\n\u003e We differ from the SRP-6a spec and RFC 5054 in a couple of key ways:\n\u003e\n\u003e - We hash the identity I; this provides some (minimal) protection against dictionary attacks on the username.\n\u003e - We hash the user passphrase p; this expands shorter passphrase into longer ones and extends the alphabet used in the passphrase.\n\u003e - We differ from RFC 5054 in our choice of hash function; we use Blake-2b. SHA-1 is getting long in the tooth, Blake2b is the current state-of-the art. Equivalently, one may use SHA3 (see below for using a user supplied hash function).\n\nBlake2b is not currently supported because it is not offered by WebCrypto; instead, you can choose between the overlapping supported hash functions between Go and WebCrypto.\n\nCurrently, only client functionality is implemented.\n\nThis library does not have any external runtime dependencies. It requires a JavaScript runtime that supports w3c Typed Arrays, BigInt, and WebCrypto, which includes the majority of web browsers and JavaScript engines.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjchv%2Fjs-srp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjchv%2Fjs-srp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjchv%2Fjs-srp/lists"}