{"id":18556760,"url":"https://github.com/urbit/argon2-wasm","last_synced_at":"2025-08-02T06:08:24.864Z","repository":{"id":57183548,"uuid":"142311506","full_name":"urbit/argon2-wasm","owner":"urbit","description":"Based off https://github.com/antelle/argon2-browser","archived":false,"fork":false,"pushed_at":"2019-03-31T18:17:54.000Z","size":2303,"stargazers_count":20,"open_issues_count":2,"forks_count":6,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-05-10T07:05:15.117Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/urbit.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":"2018-07-25T14:28:34.000Z","updated_at":"2025-04-17T14:40:28.000Z","dependencies_parsed_at":"2022-09-14T06:20:42.114Z","dependency_job_id":null,"html_url":"https://github.com/urbit/argon2-wasm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/urbit/argon2-wasm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbit%2Fargon2-wasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbit%2Fargon2-wasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbit%2Fargon2-wasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbit%2Fargon2-wasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urbit","download_url":"https://codeload.github.com/urbit/argon2-wasm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbit%2Fargon2-wasm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260567400,"owners_count":23029086,"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-11-06T21:33:10.922Z","updated_at":"2025-06-19T05:08:15.847Z","avatar_url":"https://github.com/urbit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Argon2 WebAssembly\n\nArgon2 (with Argon2u support) run as WebAssembly.\n\n## Install\n\n```\nnpm install --save argon2-wasm\n```\n\n## Usage\n\n\n```\nimport argon2 from 'argon2-wasm';\nargon2.hash({pass: 'password', salt: 'somesalt', distPath: 'dist'}).then(console.log);\n/* Logs:\n{ hash:\n   Uint8Array [ ... ],\n  hashHex:\n   'f38afe1266d247cf1f6f836ffdbb0ab946c0a7edbcb4ba6e7324b32b9050441e',\n  encoded:\n   '$argon2d$v=19$m=1024,t=10,p=1$c29tZXNhbHQ$84r+EmbSR88fb4Nv/bsKuUbAp+28tLpucySzK5BQRB4' }\n*/\n```\n\nThe input object has the following parameters and defaults:\n\n```\n{string}  pass                password string\n{string}  salt                salt string\n{float}   time        (1)     the number of iterations\n{float}   mem         (1024)  used memory, in KiB\n{float}   hashLen     (24)    desired hash length\n{float}   parallelism (1)     desired parallelism (will be computed in parallel only for PNaCl)\n{number}  type        (argon2.types.Argon2d)   hash type: argon2.ArgonType.Argon2d, .Argon2i, .Argon2id or .Argon2u\n{string}  distPath    ('.')   asm.js script location, without trailing slash\n```\n\n## Building\n\nPrerequisites:\n\n- emscripten with WebAssembly support ([howto](http://webassembly.org/getting-started/developers-guide/))\n- CMake\n\nUse the provided build script:\n\n```bash\n./build.sh\n```\n\nYou can also use `npm run-script build`, which will call that directly.\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbit%2Fargon2-wasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furbit%2Fargon2-wasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbit%2Fargon2-wasm/lists"}