2.1.0 • Published 11 months ago

@ton/crypto-primitives v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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

2.1.0

11 months ago

2.0.0

2 years ago