Libsodium documentation llms.txt · AI Docs Browser · mdream

[llms.txt Tools](https://mdream.dev/llms-txt/libsodium-documentation/llms-txt)

# Libsodium documentation llms.txt

doc.libsodium.org/llms.txt

[Raw llms.txt](https://doc.libsodium.org/llms.txt) [Raw llms-full.txt](https://doc.libsodium.org/llms-full.txt)

Copy Markdown [](https://doc.libsodium.org/llms.txt)

llms.txt

Libsodium documentation

Introduction

Installation

Quickstart and FAQ

Projects using libsodium

Commercial support

Bindings for other languages

Usage

Helpers

Padding

Secure memory

Generating random data

Secret-key cryptography

Authenticated encryption

Encrypted streams and file encryption

Encrypting a set of related messages

Authentication

AEAD constructions

ChaCha20-Poly1305

Original ChaCha20-Poly1305 construction

IETF ChaCha20-Poly1305 construction

XChaCha20-Poly1305 construction

AEGIS-256

AEGIS-128L

AES256-GCM

AES256-GCM with precomputation

IP address encryption

Public-key cryptography

Authenticated encryption

Public-key signatures

Sealed boxes

Key encapsulation

Hashing

Generic hashing

Short-input hashing

Extendable output functions

Password hashing

The pwhash* API

Key derivation

HKDF

Key exchange

Advanced

SHA-2

SHA-3

ML-KEM768

HMAC-SHA-2

The Scrypt function

Point*scalar multiplication

One-time authentication

Stream ciphers

ChaCha20

XChaCha20

Salsa20

XSalsa20

Ed25519 to Curve25519

Finite field arithmetic

Ristretto

Keccak-f[1600]

Custom RNG

Internals

Roadmap

## What is Libsodium documentation's llms.txt?

Libsodium documentation publishes an `/llms.txt` file that provides AI systems with a structured index of its documentation. It follows the [llms.txt specification](https://llmstxt.org), organizing links to guides, API references, and tutorials under section headings so that LLMs like ChatGPT, Claude, and Gemini can quickly understand what Libsodium documentation offers and where to find details.

Pass

Spec

1

Sections

60

Links

5.2 KB

Size

~1.3k

Tokens

Sections: Libsodium documentation

## Add Libsodium documentation Docs to Your AI Assistant

Select your tool to see how to add Libsodium documentation's llms.txt as a documentation source.

Cursor

 Windsurf

 Claude Code

 ChatGPT

 Zed

 Copilot

1. 1

   Open any chat or composer panel
2. 2

   Type @Docs and select "Add new doc"
3. 3

   Paste the URL: https://doc.libsodium.org/llms.txt
4. 4

   Wait for the green dot (indexing complete)
5. 5

   Reference @Docs in chat when asking about Libsodium documentation

Cursor crawls the URL and indexes all subpages. Add a trailing slash to index child pages too.

## Spec Compliance 4 notes

## Frequently Asked Questions

Where is Libsodium documentation's llms.txt file?

Libsodium documentation publishes its llms.txt at https://doc.libsodium.org/llms.txt. This file provides a structured, markdown-formatted index of Libsodium documentation's documentation that AI systems can consume to understand the project's APIs, guides, and references.

How do I use Libsodium documentation's llms.txt with AI coding assistants?

Copy the llms.txt content and paste it into your AI assistant (Cursor, Windsurf, Claude, ChatGPT) as context. This gives the AI an accurate map of Libsodium documentation's documentation so it can provide better code suggestions and answers about Libsodium documentation.

What does Libsodium documentation's llms.txt contain?

Libsodium documentation's llms.txt contains 1 sections and 60 documentation links in 5.2 KB (~1.3k tokens). Key sections include Libsodium documentation.

How many tokens does Libsodium documentation's llms.txt use?

The concise llms.txt index is approximately 1.3k tokens (5.2 KB). Most AI assistants can fit this within their context window. For the full expanded documentation, look for an llms-full.txt variant which embeds all content inline.

Can I generate an llms.txt for my own project?

Yes. Use the free llms.txt generator at mdream.dev/tools/llms-txt/generator to crawl your site and produce a spec-compliant llms.txt file. You can also validate existing files with the llms.txt validator.

## Browse More llms.txt Files

[Laravel Herd](https://mdream.dev/llms-txt/libsodium-documentation/llms-txt/laravel-herd) [Onyx AI Onyx is the open-source AI platform for enterprise search, chat, and agents. It connects to all your company's data sources and lets teams find information, build custom AI agents, and deploy any LLM - self-hosted or cloud. SOC 2 Type II certified, GDPR compliant.](https://mdream.dev/llms-txt/libsodium-documentation/llms-txt/onyx) [每日一荐 LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解，记录自己的leetcode解题之路。)](https://mdream.dev/llms-txt/libsodium-documentation/llms-txt/leetcode) [Medama Analytics](https://mdream.dev/llms-txt/libsodium-documentation/llms-txt/medama-analytics) [https://docs.litellm.ai/ llms.txt](https://mdream.dev/llms-txt/libsodium-documentation/llms-txt/litellm) [iii iii (pronounced “three eye”) unifies your existing backend stack with a single engine and three primitives: Function, Trigger, and Worker.](https://mdream.dev/llms-txt/libsodium-documentation/llms-txt/iii) [AgentOps](https://mdream.dev/llms-txt/libsodium-documentation/llms-txt/agentops) [Context7 MCP Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors](https://mdream.dev/llms-txt/libsodium-documentation/llms-txt/context7)

[View all 99 projects ](https://mdream.dev/llms-txt/libsodium-documentation/llms-txt)

## Related Tools

[<h3>llms.txt Generator</h3>Generate an llms.txt for your own project.](https://mdream.dev/llms-txt/libsodium-documentation/tools/llms-txt/generator) [<h3>llms.txt Validator</h3>Validate your llms.txt against the official spec.](https://mdream.dev/llms-txt/libsodium-documentation/tools/llms-txt/validator)

© 2026 [Harlan Wilton](https://github.com/harlan-zw) · [MIT](https://github.com/harlan-zw/mdream/blob/main/license)

[GitHub](https://github.com/harlan-zw/mdream) [Discord](https://discord.com/invite/275MBUBvgP)