hash-detector
Retrieve an array of possible hash types corresponding to a given string.
Install
~ ❯❯❯ npm install hash-detector
Usage
const hashDetect = ; ; ; ;
API
hashDetect(hash, [options])
Returns an array of possible hash types that the given string might correspond to.
hash
Type: string
String containing desired hash.
options
timeout
Type: number
Timeout in milliseconds after which a request is considered failed. Default: 5000
.
Supported Hashes
MD2
,MD4
,MD5
,MD6
SHA-1
,SHA-224
,SHA-256
,SHA-384
,SHA-512
HAVAL-128
,HAVAL-160
,HAVAL-192
,HAVAL-224
,HAVAL-256
Tiger
,Tiger-128
,Tiger-192
RIPEMD
,RIPEMD-180
,RIPEMD-256
,RIPEMD-320
Snerfu-128
,Snerfu-256
Streebog-256
,Streebog-512
FNV-1-32
,FNV-1-64
FNV-1a-32
,FNV-1a-52
,FNV-1a-64
,FNV-1a-1024
,FNV-1a-128
,FNV-1a-512
HAS-160
GOST
MDC-2
BLAKE-512
Whirpool
Spectral Hash
Related
- hash-detector-cli - CLI for this module
License
MIT © Nikolaos Kamarinakis