{"library":"tweetnacl","type":"library","category":null,"description":"TweetNaCl.js is a JavaScript port of the TweetNaCl/NaCl cryptographic library, designed for modern browsers and Node.js. It provides a thin layer of idiomatic high-level API over a faithful translation of the original C implementation, prioritizing security and correctness. The library ships with two versions: `nacl.js` (a direct port) and `nacl-fast.js` (which includes faster, optimized functions and is used by default when installed via npm). Currently at version 1.0.3, it maintains a stable release cadence with updates typically addressing security fixes or minor improvements. A key differentiator is its public domain license and a comprehensive audit by Cure53 in 2017, which found no security problems, cementing its reputation as a robust and secure cryptographic tool. All API functions operate on `Uint8Array` for byte handling.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","crypto","cryptography","curve25519","ed25519","encrypt","hash","key","nacl","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install tweetnacl","imports":["import nacl from 'tweetnacl';","const nacl = require('tweetnacl');","import type { BoxKeyPair } from 'tweetnacl';"]},{"cmd":"yarn add tweetnacl","imports":[]},{"cmd":"pnpm add tweetnacl","imports":[]}],"homepage":"https://tweetnacl.js.org","github":"https://github.com/dchest/tweetnacl-js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tweetnacl","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/tweetnacl/compatibility"}}