1.0.4 • Published 2 years ago

@tashima42/hash-id v1.0.4

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

hash-id-js

hash-id-js is a command line program for identifying hash types based on Zion3R's implementation. This software is meant for enumeration, this is not a hash cracking tool, and it isn't definitive, the only way to be sure of the algorithm is after the hash has been reversed.

Install

Using npm:

npm i @tashima42/hash-id

Usage

  • Import the package
  • Pass a string as the argument
  • Receive an array with possible hashing algorithms
  • The array is ordered from most likely to less likely
import hashId from "@tashima42/hash-id"

const possibleAlgorithms = hashId("571b4ba928ae62e103b54727721ebe56")

You can also import the individual algorithms, and the individual function will return true or false.
Attention! you have to make sure to pass a valid string as the argument.

import {MD5} from "@tashima42/hash-id/algorithms"

const isMD5 = MD5("571b4ba928ae62e103b54727721ebe56")

Or

import * as algorithms from "@tashima42/hash-id/algorithms"

const isMD5 = algorithms.MD5("571b4ba928ae62e103b54727721ebe56")
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.0-test

2 years ago

1.0.0

2 years ago