Cross-platform crypto primitives for building apps for TON blockchain. For internal implementation of `@ton/crypto`.
npm install @ton/crypto-primitivesCross-platform crypto primitives for building apps for TON blockchain. For internal implementation of @ton/crypto.

- 🦺 Crypto primitives: SHA-256, SHA-512, PBKDF2-SHA-256, HMAC-SHA-512
- 🚀 Promise-based API
- 🏎 Built on top of Buffer (polyfill required in browsers)
- 🍰 No reimplemented crypto
``bash`
yarn add @ton/crypto-primitives buffer
#### Browser polyfill
`js`
// Add before using library
require("buffer");
module is required:
MIT