biscuit-hash

Hash content and passwords with xxHash, BLAKE3, and Argon2id in Rust.

3|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/yankeeinlondon/rusty-biscuit --skill biscuit-hash
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: biscuit-hash
Source: https://github.com/yankeeinlondon/rusty-biscuit/tree/main/.claude/skills/biscuit-hash
Command: npx skills add https://github.com/yankeeinlondon/rusty-biscuit --skill biscuit-hash

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hashing is essential for content fingerprinting, data integrity, and secure password storage; this skill consolidates xxHash, BLAKE3, and Argon2id into a unified Rust library and CLI.

Core Features & Use Cases

  • xxHash for fast content fingerprinting, change detection, and non-cryptographic hashing.
  • BLAKE3 for cryptographic hashing and data integrity verification.
  • Argon2id for secure password hashing with PHC format.

Quick Start

Add the biscuit-hash dependency to your Rust project and start hashing data with the provided APIs.

Frequently Asked Questions about biscuit-hash

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I hash passwords and verify file integrity in a Rust project?

You can hash passwords and verify file integrity in Rust by using a unified library that bundles Argon2id for secure password storage and BLAKE3 for cryptographic hashing. biscuit-hash provides APIs like hash_password and blake3_hash to execute these tasks.

What is the difference between xxHash and BLAKE3 for content fingerprinting?

xxHash is a non-cryptographic algorithm for fast content fingerprinting and change detection, whereas BLAKE3 provides cryptographic hashing to verify data integrity. biscuit-hash exposes both via the xx_hash and blake3_hash APIs for distinct fingerprinting requirements.

Can I generate content fingerprints in Rust using xxHash?

Yes, you can generate fast content fingerprints in Rust using the xx_hash and xx_hash_bytes APIs provided by the library. xxHash is specifically included for high-speed, non-cryptographic change detection and content fingerprinting.

Does Rust Argon2id password hashing support the PHC format?

Yes, Argon2id password hashing in this Rust library outputs the PHC format. The hash_password API securely stores passwords using Argon2id with feature flags to enable specific algorithms as needed.

How do I securely store user passwords in a Rust application?

To securely store user passwords in a Rust application, use the Argon2id algorithm provided by the hash_password API. It generates secure password hashes in the standard PHC format for safe database storage.

When should I use Argon2id instead of BLAKE3 for hashing in Rust?

Use Argon2id for securely hashing passwords where slow, memory-hard computation is required, and use BLAKE3 for fast cryptographic data integrity verification. The library separates these use cases with distinct APIs and optional feature flags.