{"_id":"@abhedyam/sdk","_rev":"9-d130a505fb834f7d5b888f7647e98de7","name":"@abhedyam/sdk","dist-tags":{"latest":"1.0.40"},"versions":{"1.0.5":{"name":"@abhedyam/sdk","version":"1.0.5","author":{"name":"Abhedyam Project"},"license":"MIT","_id":"@abhedyam/sdk@1.0.5","maintainers":[{"name":"jollypk","email":"prabhatkr@gmail.com"}],"homepage":"https://github.com/ParamTatva-org/abhedyam#readme","bugs":{"url":"https://github.com/ParamTatva-org/abhedyam/issues"},"dist":{"shasum":"7d6e7c90f2ea3e537237d7c924309af6335a3829","tarball":"https://registry.npmjs.org/@abhedyam/sdk/-/sdk-1.0.5.tgz","fileCount":4,"integrity":"sha512-rD5C4HOwhMImCxHuR75Z3QE1oE3ik9x8TReRIah47Mkhxe1Rc+f8IrlwUszngL8D3YlA6bGwGB8rEumcre+ZUg==","signatures":[{"sig":"MEUCIQDWoz1NE451mGnN8URL6r1BjtFl7L7lXfsOUBjlC/OKmwIgKE1JzoCttmJlM0fOhFDrw0hqlfe2aJUkRtDPprklqUo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7794},"main":"index.js","gitHead":"6c1ebdfd9e9cb4da630a51390f05c88c2b23b86b","scripts":{"test":"node test.js"},"_npmUser":{"name":"jollypk","email":"prabhatkr@gmail.com"},"repository":{"url":"git+https://github.com/ParamTatva-org/abhedyam.git","type":"git"},"_npmVersion":"11.6.2","description":"Node.js SDK for Abhedya: Sanskrit-Encoded Post-Quantum Cryptography","directories":{},"_nodeVersion":"25.2.1","dependencies":{"koffi":"^2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.5_1769216464293_0.27089648148122936","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@abhedyam/sdk","version":"1.0.10","author":{"name":"Abhedyam Project"},"license":"MIT","_id":"@abhedyam/sdk@1.0.10","maintainers":[{"name":"jollypk","email":"prabhatkr@gmail.com"}],"homepage":"https://github.com/ParamTatva-org/abhedyam#readme","bugs":{"url":"https://github.com/ParamTatva-org/abhedyam/issues"},"dist":{"shasum":"de710f76ef09aba50ae5f8b0a6b6cdcffdf6e9a7","tarball":"https://registry.npmjs.org/@abhedyam/sdk/-/sdk-1.0.10.tgz","fileCount":4,"integrity":"sha512-azhQ+MiblqNDRFgPbrS2yVXGs9Hk7xdm8B4Ek0PCyEowd4ZNS1962CEaRr0uOpK+13yahKmtvhXZYPWVgOHSDA==","signatures":[{"sig":"MEQCIC7p4/xTXGYWxVTlWAg8x8TcnxxVDepljjfnK4v65+35AiBaPS8Pk9yR/H8NsdLeFMI5m7dCVoO/CuJJSyZ8M+w4uw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7795},"main":"index.js","gitHead":"13772aa359d1761e82cd6960224157e6b8c7f205","scripts":{"test":"node test.js"},"_npmUser":{"name":"jollypk","email":"prabhatkr@gmail.com"},"repository":{"url":"git+https://github.com/ParamTatva-org/abhedyam.git","type":"git"},"_npmVersion":"11.6.2","description":"Node.js SDK for Abhedya: Sanskrit-Encoded Post-Quantum Cryptography","directories":{},"_nodeVersion":"25.2.1","dependencies":{"koffi":"^2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.10_1769221675209_0.6028126252266044","host":"s3://npm-registry-packages-npm-production"}},"1.0.31":{"name":"@abhedyam/sdk","version":"1.0.31","author":{"name":"Abhedyam Project"},"license":"MIT","_id":"@abhedyam/sdk@1.0.31","maintainers":[{"name":"jollypk","email":"prabhatkr@gmail.com"}],"homepage":"https://github.com/ParamTatva-org/abhedyam#readme","bugs":{"url":"https://github.com/ParamTatva-org/abhedyam/issues"},"dist":{"shasum":"14d5d5ffa5c9fc05eb4a7dfb6b09495ab3d93d46","tarball":"https://registry.npmjs.org/@abhedyam/sdk/-/sdk-1.0.31.tgz","fileCount":4,"integrity":"sha512-rDU0waA13KmdP+7OxflZ2dr7v2WEOk1qWJHFGqt67eW/Q+SkHOzWorxg1wn070yXEu2+U/p+W7U3L7fwIPpr9g==","signatures":[{"sig":"MEYCIQCcgdhTDKyxVk+M3BmeySz/tSGBjOQ4dCYrxWYnchaTlwIhAPq2fo0edVvU3u5imwf+h/Td83ssYF5QKbRkLT4WaKKl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7795},"main":"index.js","gitHead":"c0032abf5d407f86fff838d5a67a788d501774bc","scripts":{"test":"node test.js"},"_npmUser":{"name":"jollypk","email":"prabhatkr@gmail.com"},"repository":{"url":"git+https://github.com/ParamTatva-org/abhedyam.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js SDK for Abhedya: Sanskrit-Encoded Post-Quantum Cryptography","directories":{},"_nodeVersion":"20.20.0","dependencies":{"koffi":"^2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.31_1769230745005_0.5592551793237797","host":"s3://npm-registry-packages-npm-production"}},"1.0.32":{"name":"@abhedyam/sdk","version":"1.0.32","author":{"name":"Abhedyam Project"},"license":"MIT","_id":"@abhedyam/sdk@1.0.32","maintainers":[{"name":"jollypk","email":"prabhatkr@gmail.com"}],"homepage":"https://github.com/ParamTatva-org/abhedyam#readme","bugs":{"url":"https://github.com/ParamTatva-org/abhedyam/issues"},"dist":{"shasum":"46a020957cdebd4b9dcc7b0b88adc0929fabfcfc","tarball":"https://registry.npmjs.org/@abhedyam/sdk/-/sdk-1.0.32.tgz","fileCount":4,"integrity":"sha512-FMOO+0vpB8j1xA4V112h8pYkYg9pr0PvvRTAIptHo/gbLsj4lO5+gmEWLgaWVT6YhT9cgty8mTmu+DoMsguSFw==","signatures":[{"sig":"MEQCIDpxUPJKy96FoUuvjs0Sr5Ii+Z2FvDx09uRJWFE/2YdoAiBPOKwYlVYn8gziy+oqKKH9ZW9pTjRa2uWHX2J7m/ocyA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7795},"main":"index.js","gitHead":"acae3eec1635f025314632c2651923eef209c2ae","scripts":{"test":"node test.js"},"_npmUser":{"name":"jollypk","email":"prabhatkr@gmail.com"},"repository":{"url":"git+https://github.com/ParamTatva-org/abhedyam.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js SDK for Abhedya: Sanskrit-Encoded Post-Quantum Cryptography","directories":{},"_nodeVersion":"20.20.0","dependencies":{"koffi":"^2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.32_1769231082556_0.8380572563228299","host":"s3://npm-registry-packages-npm-production"}},"1.0.33":{"name":"@abhedyam/sdk","version":"1.0.33","author":{"name":"Abhedyam Project"},"license":"MIT","_id":"@abhedyam/sdk@1.0.33","maintainers":[{"name":"jollypk","email":"prabhatkr@gmail.com"}],"homepage":"https://github.com/ParamTatva-org/abhedyam#readme","bugs":{"url":"https://github.com/ParamTatva-org/abhedyam/issues"},"dist":{"shasum":"3330dd1283f0a13f75ea3e1d5001bbb8f6b0de18","tarball":"https://registry.npmjs.org/@abhedyam/sdk/-/sdk-1.0.33.tgz","fileCount":4,"integrity":"sha512-K8Hbl3812CwaihAMYz5pawn77MIsRed/ew23th9Xg2umnIHAYYz/Pzj/azmKbpb7aE+woYadxTdZKfCnEr6njg==","signatures":[{"sig":"MEUCIQCcEiYnWTToh2LJWqR/4upSe1OZVe4yuh++i5XOUtDVQwIgJzQBPIhYXviYK45ftRfD5W9CgMsJ1DGIvSqDBi++rvw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7795},"main":"index.js","gitHead":"90979f5af5913b3b5bb2244115024d86b883e3f2","scripts":{"test":"node test.js"},"_npmUser":{"name":"jollypk","email":"prabhatkr@gmail.com"},"repository":{"url":"git+https://github.com/ParamTatva-org/abhedyam.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js SDK for Abhedya: Sanskrit-Encoded Post-Quantum Cryptography","directories":{},"_nodeVersion":"20.20.0","dependencies":{"koffi":"^2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.33_1769231804759_0.5426614095375621","host":"s3://npm-registry-packages-npm-production"}},"1.0.34":{"name":"@abhedyam/sdk","version":"1.0.34","author":{"name":"Abhedyam Project"},"license":"MIT","_id":"@abhedyam/sdk@1.0.34","maintainers":[{"name":"jollypk","email":"prabhatkr@gmail.com"}],"homepage":"https://github.com/ParamTatva-org/abhedyam#readme","bugs":{"url":"https://github.com/ParamTatva-org/abhedyam/issues"},"dist":{"shasum":"a7f5c409e62aed606e0f0df0a278ae3c4065be6c","tarball":"https://registry.npmjs.org/@abhedyam/sdk/-/sdk-1.0.34.tgz","fileCount":4,"integrity":"sha512-/Ve8x6q4vimbYVmWk2FMgZDgBlbNIQGzvBzV/g3Cgo7tFZ1S1+hPh9yLZRmKQTjogf8MrEoL5nu1s6jMQ3Z8gA==","signatures":[{"sig":"MEUCIQCngT73T2Crv6wn9Cfstf2L0hZe0rK3TW17fZaoA+RDqAIgQnIsCmJBJF7ZgJX5AxUgVJVck0EkzkQNy5Q79Y21HlE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7799},"main":"index.js","gitHead":"1ed37b76972332bef2800b3a164b8e663a79750e","scripts":{"test":"node test.js"},"_npmUser":{"name":"jollypk","email":"prabhatkr@gmail.com"},"repository":{"url":"git+https://github.com/ParamTatva-org/abhedyam.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js SDK for Abhedya: Sanskrit-Encoded Post-Quantum Cryptography","directories":{},"_nodeVersion":"20.20.0","dependencies":{"koffi":"^2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.34_1769231855922_0.7337485838023665","host":"s3://npm-registry-packages-npm-production"}},"1.0.35":{"name":"@abhedyam/sdk","version":"1.0.35","author":{"name":"Abhedyam Project"},"license":"MIT","_id":"@abhedyam/sdk@1.0.35","maintainers":[{"name":"jollypk","email":"prabhatkr@gmail.com"}],"homepage":"https://github.com/ParamTatva-org/abhedyam#readme","bugs":{"url":"https://github.com/ParamTatva-org/abhedyam/issues"},"dist":{"shasum":"9190ff1b5d5333fe12150e4c63d810671340aaa3","tarball":"https://registry.npmjs.org/@abhedyam/sdk/-/sdk-1.0.35.tgz","fileCount":4,"integrity":"sha512-pFutKtzedlByMfITl6/t3ssnNK9M/1CcPBuYkBjlfhRc+BrHDcmEtn8duqiKY11uTdzt/zd9zv8xEaWSH8nLEw==","signatures":[{"sig":"MEYCIQC6jk+MeFPuJjFrVqvLyiqG6umE815QcBmeIOqEYrLrBgIhAKyE807srJmDDR+M5S9HfL1+huknbWYmLX6f8quA+EK+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7799},"main":"index.js","gitHead":"54a5935b76ce9ab0fc665d4e8063283876a2205c","scripts":{"test":"node test.js"},"_npmUser":{"name":"jollypk","email":"prabhatkr@gmail.com"},"repository":{"url":"git+https://github.com/ParamTatva-org/abhedyam.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js SDK for Abhedya: Sanskrit-Encoded Post-Quantum Cryptography","directories":{},"_nodeVersion":"20.20.0","dependencies":{"koffi":"^2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.35_1769231909999_0.5625753972778416","host":"s3://npm-registry-packages-npm-production"}},"1.0.39":{"name":"@abhedyam/sdk","version":"1.0.39","author":{"name":"Abhedyam Project"},"license":"MIT","_id":"@abhedyam/sdk@1.0.39","maintainers":[{"name":"jollypk","email":"prabhatkr@gmail.com"}],"homepage":"https://github.com/ParamTatva-org/abhedyam#readme","bugs":{"url":"https://github.com/ParamTatva-org/abhedyam/issues"},"dist":{"shasum":"1d67edc0205b89a88f86de7f5f0ff449dc6fd32c","tarball":"https://registry.npmjs.org/@abhedyam/sdk/-/sdk-1.0.39.tgz","fileCount":4,"integrity":"sha512-x1/uURFDR9C9UWhhNA5rVbSdH+t+OmRhgnHRW2vdwUFJp1okZmiso13AVjEz/ZYMn6zJrxcfTmRWteiH0nB4xw==","signatures":[{"sig":"MEUCIGDc70B2ftBkuZhTVuYUsMRfg3ac68zGcV9J5Zlph/lIAiEArM/ANix29FSczteCkxUt0e5eHR+GX/qxyOE2DggHHK4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7799},"main":"index.js","gitHead":"45035f9ef1d7c84872bf6785fb961fbe17c3e393","scripts":{"test":"node test.js"},"_npmUser":{"name":"jollypk","email":"prabhatkr@gmail.com"},"repository":{"url":"git+https://github.com/ParamTatva-org/abhedyam.git","type":"git"},"_npmVersion":"10.8.2","description":"Node.js SDK for Abhedya: Sanskrit-Encoded Post-Quantum Cryptography","directories":{},"_nodeVersion":"20.20.0","dependencies":{"koffi":"^2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.39_1769232370091_0.7257493888886426","host":"s3://npm-registry-packages-npm-production"}},"1.0.40":{"name":"@abhedyam/sdk","version":"1.0.40","description":"Node.js SDK for Abhedya: Sanskrit-Encoded Post-Quantum Cryptography","publishConfig":{"access":"public"},"main":"index.js","scripts":{"test":"node test.js"},"dependencies":{"koffi":"^2.9.0"},"repository":{"type":"git","url":"git+https://github.com/ParamTatva-org/abhedyam.git"},"author":{"name":"Abhedyam Project"},"license":"MIT","_id":"@abhedyam/sdk@1.0.40","gitHead":"f0e8e51af14aed9ebd5cb93ede6e541eaab1f148","bugs":{"url":"https://github.com/ParamTatva-org/abhedyam/issues"},"homepage":"https://github.com/ParamTatva-org/abhedyam#readme","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-rM+zmcT83UNideysMYtcKzIswqgAWI6F9MJ7r003uY1gtU+GzRwIm5qFrqRRgqWCaznc1LxtKtegE7zcU3slig==","shasum":"fb6e5d305d185b192c9cce933b735237b9b8527a","tarball":"https://registry.npmjs.org/@abhedyam/sdk/-/sdk-1.0.40.tgz","fileCount":4,"unpackedSize":7799,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCJDctYsZE1ah7bKdm8fqxrRSmuiixslZq0yw6QmzLAigIgAwRYeGyQAsrNYecl7Jwix3Of6H1mHLXKTpumkCYTzyc="}]},"_npmUser":{"name":"jollypk","email":"prabhatkr@gmail.com"},"directories":{},"maintainers":[{"name":"jollypk","email":"prabhatkr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_1.0.40_1769298558132_0.8604168816699391"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-24T01:01:04.165Z","modified":"2026-01-24T23:49:18.431Z","1.0.5":"2026-01-24T01:01:04.425Z","1.0.10":"2026-01-24T02:27:55.433Z","1.0.31":"2026-01-24T04:59:05.149Z","1.0.32":"2026-01-24T05:04:42.708Z","1.0.33":"2026-01-24T05:16:44.892Z","1.0.34":"2026-01-24T05:17:36.094Z","1.0.35":"2026-01-24T05:18:30.139Z","1.0.39":"2026-01-24T05:26:10.250Z","1.0.40":"2026-01-24T23:49:18.278Z"},"bugs":{"url":"https://github.com/ParamTatva-org/abhedyam/issues"},"author":{"name":"Abhedyam Project"},"license":"MIT","homepage":"https://github.com/ParamTatva-org/abhedyam#readme","repository":{"type":"git","url":"git+https://github.com/ParamTatva-org/abhedyam.git"},"description":"Node.js SDK for Abhedya: Sanskrit-Encoded Post-Quantum Cryptography","maintainers":[{"name":"jollypk","email":"prabhatkr@gmail.com"}],"readme":"# Abhedya SDK for Node.js\n\n**Unmatched Speed. Unbreakable Security.**\n\nAbhedya is a high-performance Post-Quantum Cryptography (PQC) library enabling **Sanskrit-Encoded** encryption. This SDK provides Node.js bindings to the optimized Rust core.\n\n## Features\n\n- **Quantum Safety**: Lattice-based LWE implementation ($N=768$).\n- **Dual Mode**:\n  - **Standard**: High-throughput binary encryption.\n  - **Metered**: Steganographic mode producing Sanskrit-metered ciphertexts.\n- **Performance**: High-speed C-FFI using `koffi` (Node.js 25+ compatible).\n- **Zero-Copy**: Efficient buffer management.\n\n## Installation\n\n```bash\nnpm install @abhedyam/sdk\n```\n\n## Usage\n\n```javascript\nconst { Abhedya, EncryptionMode } = require(\"@abhedyam/sdk\");\n\n// Initialize\nconst sdk = new Abhedya();\n\n// 1. Generate KeyPair\nconsole.log(\"Generating Keys...\");\nconst keys = sdk.keygen();\n// keys.publicKey, keys.secretKey (Buffers)\n\n// 2. Encrypt\nconst message = \"The quick brown fox\";\nconst ciphertext = sdk.encrypt(\n  keys.publicKey,\n  message,\n  EncryptionMode.STANDARD,\n);\n\n// 3. Decrypt\nconst plaintext = sdk.decrypt(keys.secretKey, ciphertext);\nconsole.log(\"Decrypted:\", plaintext.toString());\n```\n\n## API\n\n### `keygen()`\n\nReturns `{ publicKey: Buffer, secretKey: Buffer }`.\n\n### `encrypt(publicKey, message, mode)`\n\n- `publicKey`: Buffer\n- `message`: String or Buffer\n- `mode`: `EncryptionMode.STANDARD` (0) or `EncryptionMode.METERED` (1)\n- Returns: `Buffer` (Ciphertext)\n\n### `decrypt(secretKey, ciphertext)`\n\n- `secretKey`: Buffer\n- `ciphertext`: Buffer\n- Returns: `Buffer`\n\n## License\n\nMIT License.\n","readmeFilename":"README.md"}