{"_id":"@ton/crypto-primitives","_rev":"17-5dd3642c451ebb91461a14637b4a568f","name":"@ton/crypto-primitives","dist-tags":{"latest":"2.1.0"},"versions":{"2.0.0":{"name":"@ton/crypto-primitives","version":"2.0.0","author":{"name":"Whales Corp.","email":"developers@whalescorp.com"},"license":"MIT","_id":"@ton/crypto-primitives@2.0.0","maintainers":[{"name":"ikardanov","email":"kardinal3094@gmail.com"},{"name":"tsivarev","email":"tsivarev.a@gmail.com"},{"name":"talkol","email":"talkol@gmail.com"}],"dist":{"shasum":"446256146d64fcec6e3f21d9f40b5148640329cc","tarball":"https://registry.npmjs.org/@ton/crypto-primitives/-/crypto-primitives-2.0.0.tgz","fileCount":44,"integrity":"sha512-wttiNClmGbI6Dfy/8oyNnsIV0b/qYkCJz4Gn4eP62lJZzMtVQ94Ko7nikDX1EfYHkLI1xpOitWpW+8ZuG6XtDg==","signatures":[{"sig":"MEYCIQDbDcPn2jLHnC0bKgoEo+YBhUsjauxlQpQzuRwkFHWEqAIhANDzqZvzcDtM3sb83Ktjaxj3a3OJ3i7/1XL5xFMrazbU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24762},"main":"./dist/node.js","browser":"./dist/browser.js","scripts":{"build":"rm -fr dist && tsc --declaration","release":"yarn build && yarn publish"},"_npmUser":{"name":"ikardanov","email":"kardinal3094@gmail.com"},"repository":{"url":"https://github.com/ton-org/ton-crypto-primitives.git","type":"git"},"description":"Cross-platform crypto primitives for building apps for TON blockchain. For internal implementation of `@ton/crypto`.","directories":{},"licenseText":"Copyright (c) 2021-2023 Whales Corp.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","dependencies":{"jssha":"3.2.0"},"react-native":"./dist/native.js","_hasShrinkwrap":false,"devDependencies":{"buffer":"^6.0.3","typescript":"^4.4.2","@types/node":"^16.7.10"},"_npmOperationalInternal":{"tmp":"tmp/crypto-primitives_2.0.0_1689016190818_0.2526833613715862","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@ton/crypto-primitives","version":"2.1.0","author":{"name":"Whales Corp.","email":"developers@whalescorp.com"},"license":"MIT","_id":"@ton/crypto-primitives@2.1.0","maintainers":[{"name":"ikardanov","email":"kardinal3094@gmail.com"},{"name":"mrmld","email":"die.marmelade@yandex.ru"},{"name":"tsivarev","email":"tsivarev.a@gmail.com"},{"name":"talkol","email":"talkol@gmail.com"}],"homepage":"https://github.com/ton-org/ton-crypto-primitives#readme","bugs":{"url":"https://github.com/ton-org/ton-crypto-primitives/issues"},"dist":{"shasum":"8c9277c250b59aae3c819e0d6bd61e44d998e9ca","tarball":"https://registry.npmjs.org/@ton/crypto-primitives/-/crypto-primitives-2.1.0.tgz","fileCount":39,"integrity":"sha512-PQesoyPgqyI6vzYtCXw4/ZzevePc4VGcJtFwf08v10OevVJHVfW238KBdpj1kEDQkxWLeuNHEpTECNFKnP6tow==","signatures":[{"sig":"MEQCIEzKzt0B9jWjucbFqFNxl4HPnPjKEilpX5KTsDKTzYfnAiAt3R+s4BKNdCiciclD8zrga3bimRDy4t9rdFJlx3JxAw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24761},"main":"./dist/node.js","types":"./dist/node.d.ts","browser":"./dist/browser.js","gitHead":"5e3b10a3c9cae942eda908d52eba0515127fff81","scripts":{"build":"rm -fr dist && tsc --declaration","release":"yarn build && npm publish"},"_npmUser":{"name":"mrmld","email":"die.marmelade@yandex.ru"},"repository":{"url":"git+https://github.com/ton-org/ton-crypto-primitives.git","type":"git"},"_npmVersion":"9.8.1","description":"Cross-platform crypto primitives for building apps for TON blockchain. For internal implementation of `@ton/crypto`.","directories":{},"_nodeVersion":"19.8.1","dependencies":{"jssha":"3.2.0"},"react-native":"./dist/native.js","_hasShrinkwrap":false,"devDependencies":{"buffer":"^6.0.3","typescript":"^4.4.2","@types/node":"^16.7.10"},"_npmOperationalInternal":{"tmp":"tmp/crypto-primitives_2.1.0_1721978745074_0.8100258231675415","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-07-10T19:09:50.712Z","modified":"2026-08-25T22:56:38.794Z","2.0.0":"2023-07-10T19:09:51.051Z","2.1.0":"2024-07-26T07:25:45.261Z"},"bugs":{"url":"https://github.com/ton-org/ton-crypto-primitives/issues"},"author":{"name":"Whales Corp.","email":"developers@whalescorp.com"},"license":"MIT","homepage":"https://github.com/ton-org/ton-crypto-primitives#readme","repository":{"url":"git+https://github.com/ton-org/ton-crypto-primitives.git","type":"git"},"description":"Cross-platform crypto primitives for building apps for TON blockchain. For internal implementation of `@ton/crypto`.","maintainers":[{"email":"Danil42Worker@gmail.com","name":"danil42russia"},{"email":"tolk.vm@gmail.com","name":"tolk-vm"}],"readme":"# TON crypto primitives\n\nCross-platform crypto primitives for building apps for TON blockchain. For internal implementation of `@ton/crypto`.\n\n[![Version npm](https://img.shields.io/npm/v/@ton/crypto-primitives.svg?logo=npm)](https://www.npmjs.com/package/@ton/crypto-primitives)\n\n## Features\n\n- 🦺 Crypto primitives: SHA-256, SHA-512, PBKDF2-SHA-256, HMAC-SHA-512\n- 🚀 Promise-based API\n- 🏎 Built on top of Buffer (polyfill required in browsers)\n- 🍰 No reimplemented crypto\n\n## Installation\n\n```bash\nyarn add @ton/crypto-primitives buffer\n```\n\n#### Browser polyfill\n\n```js\n// Add before using library\nrequire(\"buffer\");\n```\n\n## React Native\nTo make it work on react native `expo-crypto` module is required:\n`\nyarn install expo-crypto\n`\n\n# License\n\nMIT\n","readmeFilename":"README.md"}