# JavaScript encryption libraries

JavaScript encryption libraries encrypt and decrypt data with keys in browsers and Node.js. Authenticated encryption adds a tag that makes decryption fail when the ciphertext has changed. These libraries protect the tokens, messages, and stored records that apps exchange or keep on behalf of users.

## Popularity

| Library | Monthly downloads | Stars | Last release | License |
| --- | --- | --- | --- | --- |
| [jose](#jose) | 878.5M | 7.9K | Nov 2026 | MIT |
| [noble-ciphers](#noble-ciphers) | 220.7M | 437 | Aug 2026 | MIT |
| [Forge](#forge) | 211.3M | 5.4K | Nov 2026 | (BSD-3-Clause OR GPL-2.0) |
| [TweetNaCl.js](#tweetnacl-js) | 195.3M | 1.9K | Feb 2020 | Unlicense |
| [CryptoJS](#crypto-js) | 102.5M | 16.4K | Oct 2023 | MIT |
| [eciesjs](#eciesjs) | 64.0M | 162 | Apr 2026 | MIT |
| [crypto-browserify](#crypto-browserify) | 53.6M | 683 | Oct 2024 | MIT |
| [libsodium.js](#libsodium-js) | 28.8M | 1.2K | Apr 2026 | ISC |

Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

[jose](#jose) has the most monthly downloads in this comparison, at 878.5M.

## Capabilities

| Library | Public-key encryption | Authenticated extra data |
| --- | --- | --- |
| [jose](#jose) | Yes | Yes |
| [noble-ciphers](#noble-ciphers) | No | Yes |
| [Forge](#forge) | Yes | Yes |
| [TweetNaCl.js](#tweetnacl-js) | Yes | No |
| [CryptoJS](#crypto-js) | No | No |
| [eciesjs](#eciesjs) | Yes | No |
| [crypto-browserify](#crypto-browserify) | Yes | Yes |
| [libsodium.js](#libsodium-js) | Yes | Yes |

## Libraries

### jose

[GitHub](https://github.com/panva/jose) · [npm](https://www.npmjs.com/package/jose) · [Docs](https://github.com/panva/jose/blob/main/README.md)

Signs, verifies, encrypts, and decrypts JSON Web Tokens and other JOSE formats across Node.js, browsers, and edge runtimes.

- Downloads / mo: 878.5M
- Stars: 7.9K
- Last release: 6.2.17
- License: MIT
- Capabilities: [From the jose docs](https://github.com/panva/jose/blob/main/README.md)

**Strengths**

- **Encrypts JSON Web Tokens.** jwtDecrypt decrypts a token and validates its claims set.
- **No dependencies.** The package has no dependencies and exports tree-shakeable ES modules.

```sh
npm install jose
```

**better-auth/better-auth** (30.8K stars)

[better-auth/better-auth](https://github.com/better-auth/better-auth) 

```javascript
export async function symmetricEncodeJWT<T extends Record<string, any>>(
	payload: T,
	secret: string | SecretConfig,
	salt: string,
	expiresIn: number = 3600,
): Promise<string> {
	const currentSecret = getCurrentSecret(secret);
	const encryptionSecret = deriveEncryptionSecret(currentSecret, salt);

	const thumbprint = await calculateJwkThumbprint(
		{ kty: "oct", k: base64url.encode(encryptionSecret) },
		"sha256",
	);

	return await new EncryptJWT(payload)
		.setProtectedHeader({ alg, enc, kid: thumbprint })
		.setIssuedAt()
		.setExpirationTime(now() + expiresIn)
		.setJti(crypto.randomUUID())
		.encrypt(encryptionSecret);
}

```

[packages/better-auth/src/crypto/jwt.ts](https://github.com/better-auth/better-auth/blob/8382ce613f04bf590d3cb6c1363dfd0e41110944/packages/better-auth/src/crypto/jwt.ts) · [More projects using jose →](https://dashboard.exa.ai/playground/search?q=jose%20GitHub%20projects)

**Quickstart**

```javascript
import { EncryptJWT, generateSecret } from 'jose';

const secret = await generateSecret('A256GCM');
const token = await new EncryptJWT({ sub: 'example' })
  .setProtectedHeader({ alg: 'dir', enc: 'A256GCM' })
  .encrypt(secret);

```

From [EncryptJWT.md](https://github.com/panva/jose/blob/main/docs/jwt/encrypt/classes/EncryptJWT.md)

### noble-ciphers

[GitHub](https://github.com/paulmillr/noble-ciphers) · [npm](https://www.npmjs.com/package/@noble/ciphers) · [Docs](https://github.com/paulmillr/noble-ciphers/blob/main/README.md)

Provides symmetric ciphers with authenticated-encryption variants for JavaScript.

- Downloads / mo: 220.7M
- Stars: 437
- Last release: 2.4.0
- License: MIT
- Capabilities: [From the noble-ciphers docs](https://github.com/paulmillr/noble-ciphers/blob/main/README.md)

**Strengths**

- **Manages nonce prefixes.** Use managedNonce to prepend a generated nonce to ciphertext.
- **Detects changes during authenticated decryption.** Choose an AEAD variant whose decrypt method checks its authentication tag.

**Watch out for**

- **Passwords need separate key derivation.** Derive a password key with an additional KDF package before encrypting.
- **New messages need fresh nonces.** Do not reuse a nonce with the same key.

```sh
npm install @noble/ciphers
```

**openclaw/openclaw** (394.6K stars)

[openclaw/openclaw](https://github.com/openclaw/openclaw) 

```typescript
export function seal(options: SealOptions): Envelope {
  const ts = options.ts ?? Math.floor(Date.now() / 1000);
  validateEnvelopeMetadata(options.id, options.from, options.to, ts);
  validateMessageBody(options.body);
  const plaintext = canonicalBytes(options.body);
  if (plaintext.length > REEF_MAX_PLAINTEXT_BYTES) {
    throw new TooLargeError();
  }
  const ephemeral = x25519.keygen((options.rng ?? randomBytes)(32));
  const shared = x25519.getSharedSecret(
    ephemeral.secretKey,
    decodeKey(options.recipientEncryptionPublicKey),
  );
  const key = hkdf(sha256, shared, undefined, HKDF_INFO, 32);
  const nonce = (options.rng ?? randomBytes)(12);
  if (nonce.length !== 12) {
    throw new MalformedError("rng returned invalid nonce");
  }
  const unsigned: UnsignedEnvelope = {
    v: 1,
    id: options.id,
    from: options.from,
    to: options.to,
    ts,
    epk: base64(ephemeral.publicKey),
    n: base64(nonce),
    ct: base64(gcm(key, nonce).encrypt(plaintext)),
  };
  return {
    ...unsigned,
    sig: base64(ed25519.sign(canonicalBytes(unsigned), decodeKey(options.senderSigningSecretKey))),
  };
}

```

[extensions/reef/protocol/envelope.ts](https://github.com/openclaw/openclaw/blob/d29fad4e3e687dedf683e38ec35b12cb85510637/extensions/reef/protocol/envelope.ts) · [More projects using noble-ciphers →](https://dashboard.exa.ai/playground/search?q=Projects%20using%20%40noble/ciphers%20for%20authenticated%20encryption%20and%20decryption&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```typescript
import { gcm } from '@noble/ciphers/aes.js';
import { randomBytes } from '@noble/ciphers/utils.js';

const key = randomBytes(32);
const nonce = randomBytes(12);
const ciphertext = gcm(key, nonce).encrypt(new TextEncoder().encode('hello'));

```

From [README.md](https://github.com/paulmillr/noble-ciphers/blob/main/README.md)

### Forge

[GitHub](https://github.com/digitalbazaar/forge) · [npm](https://www.npmjs.com/package/node-forge) · [Docs](https://github.com/digitalbazaar/forge/blob/main/README.md)

Provides block-cipher encryption and decryption APIs.

- Downloads / mo: 211.3M
- Stars: 5.4K
- Last release: 1.4.3
- License: (BSD-3-Clause OR GPL-2.0)
- Capabilities: [From the Forge docs](https://github.com/digitalbazaar/forge/blob/main/README.md)

**Strengths**

- **Checks authenticated decryption results.** Check decipher.finish before using decrypted GCM output.
- **Includes password-based key derivation.** Use pkcs5.pbkdf2 to derive a key from a password.

**Watch out for**

- **Synchronous key generation blocks execution.** Choose asynchronous RSA key generation for interactive applications.

```sh
npm install node-forge
```

**Kong/insomnia** (40.2K stars)

[Kong/insomnia](https://github.com/Kong/insomnia) 

```typescript
export function encryptAES(jwkOrKey: string | JsonWebKey, plaintext: string, additionalData = ''): AESMessage {
  // TODO: Add assertion checks for JWK
  const rawKey = typeof jwkOrKey === 'string' ? jwkOrKey : _b64UrlToHex(jwkOrKey.k || '');
  const key = forge.util.hexToBytes(rawKey);
  const iv = forge.random.getBytesSync(12);
  const cipher = forge.cipher.createCipher('AES-GCM', key);
  // Plaintext could contain weird unicode, so we have to encode that
  const encodedPlaintext = encodeURIComponent(plaintext);
  cipher.start({
    additionalData,
    iv,
    tagLength: 128,
  });
  cipher.update(forge.util.createBuffer(encodedPlaintext));
  cipher.finish();
  return {
    iv: forge.util.bytesToHex(iv),
    // @ts-expect-error -- TSCONVERSION needs to be converted to string
    t: forge.util.bytesToHex(cipher.mode.tag),
    ad: forge.util.bytesToHex(additionalData),
    // @ts-expect-error -- TSCONVERSION needs to be converted to string
    d: forge.util.bytesToHex(cipher.output),
  };
}

```

[packages/insomnia-vcs/src/crypt.ts](https://github.com/Kong/insomnia/blob/51e449474b832760d6cdd1e47d53b572d2b24ddf/packages/insomnia-vcs/src/crypt.ts) · [More projects using Forge →](https://dashboard.exa.ai/playground/search?q=Projects%20using%20node-forge%20for%20authenticated%20encryption%20and%20decryption&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```typescript
import forge from 'node-forge';

const key = forge.random.getBytesSync(32);
const iv = forge.random.getBytesSync(12);
const cipher = forge.cipher.createCipher('AES-GCM', key);
cipher.start({ iv });
cipher.update(forge.util.createBuffer('hello', 'utf8'));
cipher.finish();
const ciphertext = cipher.output.getBytes();
const tag = cipher.mode.tag.getBytes();

```

From [README.md](https://github.com/digitalbazaar/forge/blob/main/README.md)

### TweetNaCl.js

[GitHub](https://github.com/dchest/tweetnacl-js) · [npm](https://www.npmjs.com/package/tweetnacl) · [Docs](https://github.com/dchest/tweetnacl-js/blob/master/README.md)

Provides a JavaScript implementation of NaCl for browsers and Node.js.

- Downloads / mo: 195.3M
- Stars: 1.9K
- Last release: 1.0.3
- License: Unlicense
- Capabilities: [From the TweetNaCl.js docs](https://github.com/dchest/tweetnacl-js/blob/master/README.md)

**Strengths**

- **Combines peer keys with encryption.** Use box with the recipient’s public key and sender’s secret key.
- **Returns null on authentication failure.** Check the open result before decoding the plaintext.

**Watch out for**

- **Text needs explicit byte encoding.** Encode strings and serialize objects before encryption.
- **Shared Buffer views need copying.** Use Buffer.from(array) to avoid sharing a returned subarray’s backing buffer.

```sh
npm install tweetnacl
```

**slopus/happy** (24.7K stars)

[slopus/happy](https://github.com/slopus/happy) 

```typescript
export function libsodiumEncryptForPublicKey(data: Uint8Array, recipientPublicKey: Uint8Array): Uint8Array {
  // Generate ephemeral keypair for this encryption
  const ephemeralKeyPair = tweetnacl.box.keyPair();
  
  // Generate random nonce (24 bytes for box encryption)
  const nonce = getRandomBytes(tweetnacl.box.nonceLength);
  
  // Encrypt the data using box (authenticated encryption)
  const encrypted = tweetnacl.box(data, nonce, recipientPublicKey, ephemeralKeyPair.secretKey);
  
  // Bundle format: ephemeral public key (32 bytes) + nonce (24 bytes) + encrypted data
  const result = new Uint8Array(ephemeralKeyPair.publicKey.length + nonce.length + encrypted.length);
  result.set(ephemeralKeyPair.publicKey, 0);
  result.set(nonce, ephemeralKeyPair.publicKey.length);
  result.set(encrypted, ephemeralKeyPair.publicKey.length + nonce.length);
  
  return result;
}

```

[packages/happy-cli/src/api/encryption.ts](https://github.com/slopus/happy/blob/2992695686ec6386492d7814c52f8e787e54a12d/packages/happy-cli/src/api/encryption.ts) · [More projects using TweetNaCl.js →](https://dashboard.exa.ai/playground/search?q=Projects%20using%20tweetnacl%20for%20authenticated%20encryption%20and%20decryption&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```typescript
import nacl from 'tweetnacl';

const key = nacl.randomBytes(nacl.secretbox.keyLength);
const nonce = nacl.randomBytes(nacl.secretbox.nonceLength);
const message = new TextEncoder().encode('hello');
const ciphertext = nacl.secretbox(message, nonce, key);

```

From [README.md](https://github.com/dchest/tweetnacl-js/blob/master/README.md)

### CryptoJS

[GitHub](https://github.com/brix/crypto-js) · [npm](https://www.npmjs.com/package/crypto-js) · [Docs](https://github.com/brix/crypto-js/blob/develop/README.md)

Implements crypto standards such as AES, SHA hashes, and HMAC in JavaScript.

- Downloads / mo: 102.5M
- Stars: 16.4K
- Last release: 4.2.0
- License: MIT
- Capabilities: [From the CryptoJS docs](https://github.com/brix/crypto-js/blob/develop/README.md)

**Watch out for**

- **No longer maintained.** The maintainers recommend the native crypto module in Node.js and current browsers.

```sh
npm install crypto-js
```

**balzack/databag** (1.5K stars)

[balzack/databag](https://github.com/balzack/databag) 

```javascript
export function encryptBlock(block, contentKey) {
  const key = CryptoJS.enc.Hex.parse(contentKey);
  const iv = CryptoJS.lib.WordArray.random(128 / 8);
  const encrypted = CryptoJS.AES.encrypt(block, key, { iv: iv });
  const blockEncrypted = encrypted.ciphertext.toString(CryptoJS.enc.Base64)
  const blockIv = iv.toString();

  return { blockEncrypted, blockIv };
}

```

[net/web/src/context/sealUtil.js](https://github.com/balzack/databag/blob/45343338582b394f4f5fdb4b7e271ea1dc8dd5fd/net/web/src/context/sealUtil.js) · [More projects using CryptoJS →](https://dashboard.exa.ai/playground/search?q=crypto-js%20GitHub%20projects)

**Quickstart**

```javascript
var CryptoJS = require('crypto-js');

var ciphertext = CryptoJS.AES.encrypt('my message', 'secret key 123').toString();

```

From [README.md](https://github.com/brix/crypto-js/blob/develop/README.md)

### eciesjs

[GitHub](https://github.com/ecies/js) · [npm](https://www.npmjs.com/package/eciesjs) · [Docs](https://github.com/ecies/js/blob/master/README.md)

Encrypts data to an elliptic curve public key with the ECIES hybrid scheme.

- Downloads / mo: 64.0M
- Stars: 162
- Last release: 0.5.0
- License: MIT
- Capabilities: [From the eciesjs docs](https://github.com/ecies/js/blob/master/README.md)

**Strengths**

- **Runs on many platforms.** The same API runs in browsers, Node.js, Bun, Deno, and React Native.
- **Uses audited dependencies.** Its cryptography comes from node:crypto and the audited noble packages.

**Watch out for**

- **Settings must match across apps.** Use the same curve, cipher, and nonce settings on every side of the exchange.

```sh
npm install eciesjs
```

**supabase/cli** (2.5K stars)

[supabase/cli](https://github.com/supabase/cli) 

```javascript
function decryptWithKey(keyHex: string, encryptedValue: string): DecryptedSecret {
  if (keyHex.length === 0) return { ok: false, error: "missing private key" };
  let privateKeyHex: string;
  try {
    privateKeyHex = PrivateKey.fromHex(keyHex).toHex();
  } catch {
    // Fixed message, not the underlying error: some runtimes' fallback hex
    // decoder echoes a fragment of the bad input (offending char + index)
    // into the error, which would otherwise reach the user's stderr.
    return { ok: false, error: "failed to hex decode private key: cannot decode hex string" };
  }
  const encoded = encryptedValue.slice(ENCRYPTED_PREFIX.length);
  // Node's `Buffer.from(s, "base64")` silently drops invalid characters, so
  // reject malformed input explicitly.
  if (!STD_BASE64_PATTERN.test(encoded) || encoded.length % 4 !== 0) {
    return { ok: false, error: "failed to base64 decode secret: invalid base64 data" };
  }
  try {
    // eciesjs returns a Uint8Array; wrap in Buffer before decoding the plaintext.
    const plaintext = Buffer.from(decrypt(privateKeyHex, Buffer.from(encoded, "base64")));
    return { ok: true, value: plaintext.toString("utf8") };
  } catch (cause) {
    return { ok: false, error: `failed to decrypt secret: ${errorMessage(cause)}` };
  }
}

```

[apps/cli/src/command-internal/vault-decrypt.ts](https://github.com/supabase/cli/blob/015bf52b35b2bf478b526f21e5b0d648ec156e0a/apps/cli/src/command-internal/vault-decrypt.ts) · [More projects using eciesjs →](https://dashboard.exa.ai/playground/search?q=eciesjs%20GitHub%20projects)

**Quickstart**

```javascript
import { PrivateKey, decrypt, encrypt } from "eciesjs";

const encoder = new TextEncoder();
const decoder = new TextDecoder();

const sk = new PrivateKey();
const data = encoder.encode("hello world🌍");
const decrypted = decrypt(sk.secret, encrypt(sk.publicKey.toBytes(), data));
console.log(decoder.decode(decrypted));

```

From [README.md](https://github.com/ecies/js/blob/master/README.md)

### crypto-browserify

[GitHub](https://github.com/browserify/crypto-browserify) · [npm](https://www.npmjs.com/package/crypto-browserify) · [Docs](https://github.com/browserify/crypto-browserify/blob/master/README.md)

Reimplements the Node.js crypto module in plain JavaScript for the browser.

- Downloads / mo: 53.6M
- Stars: 683
- Last release: 3.12.1
- License: MIT
- Capabilities: [From the crypto-browserify docs](https://github.com/browserify/crypto-browserify/blob/master/README.md)

**Watch out for**

- **Covers a subset of Node.js crypto.** Check the implemented list before porting code that calls other crypto functions.

```sh
npm install crypto-browserify
```

**bnb-chain/javascript-sdk** (402 stars)

[bnb-chain/javascript-sdk](https://github.com/bnb-chain/javascript-sdk) 

```javascript
export const generateKeyStore = (
  privateKeyHex: string,
  password: string
): KeyStore => {
  const salt = cryp.randomBytes(32)
  const iv = cryp.randomBytes(16)
  const cipherAlg = "aes-256-ctr"

  const kdf = "pbkdf2"
  const kdfparams = {
    dklen: 32,
    salt: salt.toString("hex"),
    c: 262144,
    prf: "hmac-sha256",
  }

  const derivedKey = cryp.pbkdf2Sync(
    Buffer.from(password),
    salt,
    kdfparams.c,
    kdfparams.dklen,
    "sha256"
  )
  const cipher = cryp.createCipheriv(cipherAlg, derivedKey.slice(0, 32), iv)
  if (!cipher) {
    throw new Error("Unsupported cipher")
  }

  const ciphertext = Buffer.concat([
    cipher.update(Buffer.from(privateKeyHex, "hex")),
    cipher.final(),
  ])
  const bufferValue = Buffer.concat([derivedKey.slice(16, 32), ciphertext])

  return {
    version: 1,
    id: uuid.v4({
      random: cryp.randomBytes(16),
    }),
    crypto: {
      ciphertext: ciphertext.toString("hex"),
      cipherparams: {
        iv: iv.toString("hex"),
      },
      cipher: cipherAlg,
      kdf,
      kdfparams,
      // mac must use sha3 according to web3 secret storage spec
      mac: sha3(bufferValue.toString("hex")),
    },
  }
}

```

[src/crypto/index.ts](https://github.com/bnb-chain/javascript-sdk/blob/66bc48b568c20879c5c6352915b87e8e803a5363/src/crypto/index.ts) · [More projects using crypto-browserify →](https://dashboard.exa.ai/playground/search?q=crypto-browserify%20GitHub%20projects)

**Quickstart**

```javascript
const crypto = require('crypto-browserify');
const { Buffer } = require('buffer');

const key = crypto.randomBytes(32);
const iv = crypto.randomBytes(12);
const cipher = crypto.createCipheriv('aes-256-gcm', key, iv);
const ciphertext = Buffer.concat([cipher.update('hello', 'utf8'), cipher.final()]);
const tag = cipher.getAuthTag();

```

From [index.js](https://github.com/browserify/crypto-browserify/blob/master/index.js)

### libsodium.js

[GitHub](https://github.com/jedisct1/libsodium.js) · [npm](https://www.npmjs.com/package/libsodium-wrappers) · [Docs](https://github.com/jedisct1/libsodium.js/blob/master/README.md)

Provides JavaScript and WebAssembly wrappers for libsodium cryptographic operations.

- Downloads / mo: 28.8M
- Stars: 1.2K
- Last release: 0.8.4
- License: ISC
- Capabilities: [From the libsodium.js docs](https://github.com/jedisct1/libsodium.js/blob/master/README.md)

**Strengths**

- **Processes ordered encrypted message streams.** Use secretstream to encrypt messages and mark the final chunk.
- **Converts string inputs automatically.** String input is converted into UTF-8 bytes for binary APIs.

**Watch out for**

- **Initialization is asynchronous.** Await sodium.ready before calling cryptographic functions.
- **Password hashing needs sumo.** Use the sumo package for crypto_pwhash functions.

```sh
npm install libsodium-wrappers
```

**Quickstart**

```typescript
import sodium from 'libsodium-wrappers';

await sodium.ready;
const key = sodium.randombytes_buf(sodium.crypto_secretbox_KEYBYTES);
const nonce = sodium.randombytes_buf(sodium.crypto_secretbox_NONCEBYTES);
const ciphertext = sodium.crypto_secretbox_easy('hello', nonce, key);

```

From [README.md](https://github.com/jedisct1/libsodium.js/blob/master/README.md) · [Find projects using libsodium.js →](https://dashboard.exa.ai/playground/search?q=Projects%20using%20libsodium-wrappers%20for%20authenticated%20encryption%20and%20decryption&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

## FAQ

### What is CryptoJS?

[CryptoJS](#crypto-js) is a JavaScript library of crypto standards such as AES and HMAC. Its maintainers have discontinued development and point to the native crypto module in Node.js and current browsers.

### What is node-forge?

[Forge](#forge) implements network transports, ciphers, public key infrastructure, and message digests in JavaScript. It includes block ciphers such as AES and password-based key derivation.

### What is jose?

[jose](#jose) implements JSON Object Signing and Encryption for JavaScript, including JWT, JWE, and JWK. It runs in Node.js, browsers, Cloudflare Workers, Deno, and Bun with no dependencies.

### What is crypto-browserify?

[crypto-browserify](#crypto-browserify) reimplements the Node.js crypto module in plain JavaScript so that it can run in the browser.

### What is TweetNaCl.js?

[TweetNaCl.js](#tweetnacl-js) is a JavaScript port of the NaCl cryptographic library for browsers and Node.js. Its box function encrypts a message for a recipient's public key.

### Why must libsodium.js initialization be awaited?

Await sodium.ready before using its cryptographic functions and constants.

## How this page was built

Data checked Nov 20, 2026.

Reproduce it with the Exa API:

```json
{
  "endpoint": "/search",
  "body": {
    "query": "Best JavaScript encryption libraries noble-ciphers libsodium TweetNaCl Forge code examples",
    "numResults": 5
  }
}
```

Docs: https://exa.ai/docs/reference/search
