{"id":16875869,"url":"https://github.com/marvinjwendt/node-test-hash","last_synced_at":"2025-04-05T11:44:20.124Z","repository":{"id":48030153,"uuid":"149456063","full_name":"MarvinJWendt/node-test-hash","owner":"MarvinJWendt","description":"NodeJS module to test if a hash results in a given string without knowing the hashing algorithm.","archived":false,"fork":false,"pushed_at":"2023-01-03T15:16:42.000Z","size":390,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T16:51:47.866Z","etag":null,"topics":["crypto","debugging","decipher","decrypt","hash","hashing","md5","module","nodejs","nodejs-modules","sha","testing"],"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/MarvinJWendt.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":"2018-09-19T13:35:56.000Z","updated_at":"2019-08-09T01:38:41.000Z","dependencies_parsed_at":"2023-02-01T07:01:11.202Z","dependency_job_id":null,"html_url":"https://github.com/MarvinJWendt/node-test-hash","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarvinJWendt%2Fnode-test-hash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarvinJWendt%2Fnode-test-hash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarvinJWendt%2Fnode-test-hash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarvinJWendt%2Fnode-test-hash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarvinJWendt","download_url":"https://codeload.github.com/MarvinJWendt/node-test-hash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332525,"owners_count":20921852,"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":["crypto","debugging","decipher","decrypt","hash","hashing","md5","module","nodejs","nodejs-modules","sha","testing"],"created_at":"2024-10-13T15:37:18.428Z","updated_at":"2025-04-05T11:44:20.098Z","avatar_url":"https://github.com/MarvinJWendt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# TEST-HASH  \n\u003eNodeJS module to test if a hash results in a given string without knowing the hashing algorithm.  \n\n[![Build Status](https://travis-ci.com/MarvinJWendt/node-test-hash.svg?branch=master)](https://travis-ci.com/MarvinJWendt/node-test-hash)\n  \n## Supported hashes  \nAll hashes from the NodeJS library `crypto` are supported.  \n  \n## Usage  \n  \nInstall the package with `npm i test-hash`  \n  \nImport the module like this:\n  \n    const testHash = require('test-hash')  \n\nUse the module like this:  \n    \n    //Unknown hash format\n    testHash('b10a8db164e0754105b7a99be72e3fe5', 'Hello World') // (md5) =\u003e true \n    testHash('0a4d55a8d778e5022fab701977c5d840bbc486d0', 'Hello World') // (sha1) =\u003e true \n    testHash('a830d7beb04eb7549ce990fb7dc962e499a27230', 'Hello World') // (RIPEMD-160) =\u003e true \n    //etc...\n    \n    //Known hash format (doesn´t lookup every hash =\u003e faster)\n    testHash('b10a8db164e0754105b7a99be72e3fe5', 'Hello World', 'md5') // =\u003e true\n    testHash('b10a8db164e0754105b7a99be72e3fe5', 'Hello World', 'sha1') // =\u003e false (hash is not sha1)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarvinjwendt%2Fnode-test-hash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarvinjwendt%2Fnode-test-hash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarvinjwendt%2Fnode-test-hash/lists"}