# Crypto Toolkit

> Cryptographic utilities - hashing, HMAC, AES-256-GCM encryption/decryption, encoding/decoding, UUID generation, and secure random bytes

- Skill: `chainlesschain/crypto-toolkit` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add chainlesschain/crypto-toolkit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/chainlesschain/crypto-toolkit/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: chainlesschain (https://skillmd.com/u/chainlesschain)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/chainlesschain/crypto-toolkit

---


# Crypto Toolkit

Cryptographic utilities powered by Node.js built-in `crypto` module.

## Features

| Operation | Command                                            | Description                  |
| --------- | -------------------------------------------------- | ---------------------------- |
| Hash      | `--hash <text> [--algo md5\|sha1\|sha256\|sha512]` | Hash text (default: sha256)  |
| Hash File | `--hash-file <file> [--algo sha256]`               | Hash file contents           |
| HMAC      | `--hmac <text> --key <secret> [--algo sha256]`     | HMAC signature               |
| Encrypt   | `--encrypt <text> --key <password>`                | AES-256-GCM encrypt (base64) |
| Decrypt   | `--decrypt <encrypted> --key <password>`           | AES-256-GCM decrypt          |
| Encode    | `--encode <text> --format base64\|hex\|url`        | Encode text                  |
| Decode    | `--decode <text> --format base64\|hex\|url`        | Decode text                  |
| UUID      | `--uuid`                                           | Generate UUID v4             |
| Random    | `--random <length>`                                | Generate random bytes (hex)  |
| Compare   | `--compare <hash1> <hash2>`                        | Timing-safe hash comparison  |

