{"library":"curve25519-js","type":"library","category":null,"description":"curve25519-js provides a JavaScript implementation of Curve25519, facilitating both digital signatures and X25519 Diffie-Hellman key agreement. The current stable version is 0.0.4. While its release cadence appears infrequent, with a significant rewrite in 2019, it serves as a functional library for cryptographic operations. A key differentiator is its ability to use a single X25519 key for both signing and key agreement, a feature that distinguishes it from standard Ed25519 implementations which typically use separate key types or require explicit conversion. This is achieved by embedding and extracting a sign bit into the signature during the process. The library is derived from TweetNaCl.js and is suitable for environments where direct Curve25519 operations are needed.","language":"javascript","status":"maintenance","version":"0.0.4","tags":["javascript","sign","curve25519","x25519","ed25519"],"last_verified":"Wed May 27","install":[{"cmd":"npm install curve25519-js","imports":["import { sharedKey } from 'curve25519-js';","import { generateKeyPair } from 'curve25519-js';","import { sign } from 'curve25519-js';","import { Buffer } from 'buffer';"]},{"cmd":"yarn add curve25519-js","imports":[]},{"cmd":"pnpm add curve25519-js","imports":[]}],"homepage":null,"github":"https://github.com/harveyconnor/curve25519-js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/curve25519-js","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/curve25519-js/compatibility"}}