Hash Test Vectors

JSON →
library 1.3.2 ·javascript maintenance
verified May 27, 2026

The `hash-test-vectors` package provides a comprehensive, static collection of cryptographic test vectors for various hash functions, HMACs, and PBKDF2. It consolidates and expands test data primarily sourced from NIST (for SHA, MD5) and RFCs (for HMAC, PBKDF2), tailoring them to cover all hash algorithms supported by Node.js. This data is made available in a JSON format, making it highly suitable for validating JavaScript cryptographic implementations in both Node.js and browser environments. The package is currently at version 1.3.2, with its last update in late 2015, indicating a stable, maintenance-mode status as a dataset rather than an actively developed library. Its primary differentiator is simplifying the rigorous testing of crypto functions against standardized, pre-computed references.

total hits 15
actors 7 distinct systems
last hit 5d ago AhrefsBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇮 Finland · 🇫🇷 France · 🇩🇪 Germany