[](https://www.npmjs.com/package/ton-crypto-primitives)
npm install ton-crypto-primitives
Cross-platform crypto primitives for building apps for TON blockchain. For internal imlementation of ton-crypto.
- 🦺 Crypto primitives: SHA-256, SHA-512, PBKDF2-SHA-256, HMAC-SHA-512
- 🚀 Promise-based API
- 🏎 Built on top of Buffer (polifil required in browsers)
- 🍰 No reimplemented crypto
``bash`
yarn add ton-crypto-primitives buffer
#### Browser polifil
`js`
// Add before using library
require("buffer");
module is required:
MIT