@ton/crypto-primitives
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

TON crypto primitives

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

Version npm

Features

  • 🦺 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

Installation

yarn add @ton/crypto-primitives buffer

Browser polyfill

// Add before using library
require("buffer");

React Native

To make it work on react native expo-crypto module is required: yarn install expo-crypto

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @ton/crypto-primitives

Weekly Downloads

115,020

Version

2.1.0

License

MIT

Unpacked Size

24.8 kB

Total Files

39

Last publish

Collaborators

  • ikardanov
  • mrmld
  • tsivarev
  • talkol