Files
2026-05-27 23:29:53 +01:00

2.0 KiB

name: crypto-sodium description: Use when implementing or debugging code that uses @suaveplan/crypto-sodium: libsodium-backed engine implementations for @suaveplan/crypto — AEAD (XChaCha20-Poly1305, ChaCha20-Poly1305, AES-256-GCM), Ed25519 sign, X25519 agree, sealed-box, auth-box, KDF, BLAKE2b auth, Argon2id pwhash, Ristretto255 group ops.

@suaveplan/crypto-sodium

libsodium-backed engine implementations for @suaveplan/crypto. Provides AEAD encryption, Ed25519 signing, X25519 key agreement, sealed-box, auth-box, deterministic KDF, BLAKE2b MAC, Argon2id password hashing, and Ristretto255 group operations — all via the libsodium-wrappers-sumo WASM module.

When to use this skill

  • Implementing or debugging code that imports @suaveplan/crypto-sodium.
  • The task touches: see package README.
  • You need API guidance for this package's exports.

Quick reference

import { /* see API Reference below */ } from "@suaveplan/crypto-sodium";

Dependencies

Workspace dependencies: @suaveplan/crypto, @suaveplan/error

Where to read more

This skill is intentionally short. The package's own documentation is the authoritative source — read these in order:

  1. packages/crypto/crypto-sodium/README.md — overview, install, quick-start, module index
  2. packages/crypto/crypto-sodium/src/**/*.md — co-located docs per implementation file (Purpose, Features, Basic + Advanced examples, full API reference, Implementation notes — all packages ship ≥200 words per module)
  3. packages/crypto/crypto-sodium/package.json exports map — every subpath you can import from

When the user asks an API question, read the relevant co-located .md first; do not answer from training-data memory.

See also

  • @suaveplan/crypto
  • @suaveplan/error

This SKILL.md is auto-generated by suaveplan-skills/scripts/generate-skills.ts from the package's README. Do not edit by hand — re-run the generator after the README changes.