- Home
- Skills
- APIs & Backend
- Tauri Native File Hashing Integration
Works with the AI Agents you already use
Tauri Native File Hashing Integration
Inspects your project and verifies it is Tauri v2 (stops honestly if it is not).
Free
Tauri Native File Hashing Integration
Example session with this skill installed
Let users verify the SHA-256 of the ISOs this app downloads, they can be 4 GB.
The agent: confirms Tauri v2; adds tauri-plugin-hash (cargo) and @marrionesa/plugin-hash (pnpm); registers tauri_plugin_hash::init() on the builder; adds "hash:default" to the capability and explains what that grants; wires the download list's "Verify" button to hashFile(item.path, 'sha256') rendered as b94d27b9…-style digests; runs cargo check and the frontend build; verifies the string path against the known "hello world" vector; reports modified files, outputs, and the note that multi-GB files hash with constant memory.
- Read your context and instructions
- Compiled the tauri native file
Result: one-click integrity checks on files far too large for SubtleCrypto - with the honest scope note about hash_file left visible to the developer.
Connects securely to your tools. The creator never sees your data.
About this skill
This skill turns your AI coding agent into an engineer that integrates tauri-plugin-hash into an existing Tauri v2 application - not a tutorial, an actual integration.
What it does
- Inspects your project and verifies it is Tauri v2 (stops honestly if it is not).
- Detects your package manager and project structure.
- Adds the Rust crate
tauri-plugin-hashand the npm package@marrionesa/plugin-hash. - Registers the plugin on your
tauri::Builderwithout touching unrelated config. - Wires the
hash:defaultpermission into your capability file — and flags thehash_filescope decision instead of silently widening file access. - Adds a minimal working example in your frontend's own framework and runs the compile/type checks it can, reporting real output.
What you get
hashString(input, algorithm)→ hex digest of a UTF-8 string.hashFile(path, algorithm)→ hex digest of a file, streamed in 8 KB chunks with constant memory (~8 KB + hash state): multi-GB ISOs, database dumps and video archives hash without loading them into RAM.- Algorithms:
sha256(64 hex chars),sha512(128),md5(32, legacy checksums only); matched case-insensitively.
The browser's SubtleCrypto.digest() needs the entire input in memory as an
ArrayBuffer — it fails or crashes on files bigger than available RAM — and has
no MD5. This plugin does the hashing in native Rust, on every Tauri target.
Where it stops: no HMAC/CRC32/BLAKE, MD5 explicitly demoted to legacy checksums, and no unverifiable success claims — checks or honest report.
Only supports Tauri v2. Requires Rust 1.90+. No support for HMAC, CRC32, or BLAKE. MD5 should not be used for security-critical tasks.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 3 days ago
- Free with an Agensi account
Permissions
- Read and write project files (Cargo.toml, package.json, builder entry, one capability file, one example file). - Run package manager commands and `cargo add` / `cargo check`. - Package installation downloads from public registries (npm, crates.io). - No network calls added to the app itself; the app gains local file read access only through `hash_file`.