UNPKG

hybrid-ecies

Version:

Hybrid EC encryption scheme that EC curve secp256k1, and chacha20-poly1305 or aes-256-gcm to encrypt data. The returned data is a packed Buffer with the public key, nonce/iv, tag, and encrypted data.

44 lines (43 loc) 1.44 kB
{ "name": "hybrid-ecies", "version": "1.3.0", "description": "Hybrid EC encryption scheme that EC curve secp256k1, and chacha20-poly1305 or aes-256-gcm to encrypt data. The returned data is a packed Buffer with the public key, nonce/iv, tag, and encrypted data.", "main": "lib/ecies.js", "scripts": { "run": "node lib/driver.js", "build-watch": "tsc -w", "build": "tsc & rm ./lib/driver.js & rm ./lib/driver.d.ts", "build-docs": "touch ./README.md && rm ./README.md && npx typedoc --exclude /mnt/d/dev/hybrid-ecies/src/driver.ts --hideSources --readme /mnt/d/dev/hybrid-ecies/readmeHeader/readme.md --theme markdown --out /mnt/d/dev/hybrid-ecies/docs /mnt/d/dev/hybrid-ecies/src && npx concat-md --decrease-title-levels ./docs > README.md", "test": "mocha" }, "author": "Anthony Ellison", "keywords": [ "EC", "ECIES", "Elliptic-curve cryptography", "ECC", "chacha20-poly1305", "secp256k1", "Encryption", "Hybrid ECIES" ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/aellison5505/Hybrid-ECIES.git" }, "devDependencies": { "@types/node": "^14.6.2", "concat-md": "^0.3.5", "mocha": "^8.1.3", "showdown": "^1.9.1", "tsdoc": "0.0.4", "typedoc": "^0.17.0-3", "typedoc-plugin-markdown": "^2.4.2", "typescript": "^4.0.2" }, "engines": { "node": ">= 10.22.0", "npm": ">= 6.0.0" } }